mirror of
https://github.com/kingomarnajjar/desktop-environment.git
synced 2026-07-25 22:27:20 +10:00
no-root
This commit is contained in:
parent
4698de03a0
commit
f72cc3481b
3 changed files with 3 additions and 8 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
credentials.json
|
||||
logs/
|
||||
terraform*
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ $REPO_ROOT/docker/scripts/take-ownership.sh
|
|||
|
||||
# Start the environment on host startup
|
||||
if [ "$1" = "--xpra" ]; then
|
||||
echo "@reboot root $DESKTOP_ENVIRONMENT_HOST_REPOSITORY/docker/scripts/recycle-xpra.sh" >> /etc/crontab
|
||||
echo "@reboot $DESKTOP_ENVIRONMENT_HOST_REPOSITORY/docker/scripts/recycle-xpra.sh" >> /etc/crontab
|
||||
else
|
||||
echo "@reboot root $DESKTOP_ENVIRONMENT_HOST_REPOSITORY/docker/scripts/recycle.sh" >> /etc/crontab
|
||||
echo "@reboot $DESKTOP_ENVIRONMENT_HOST_REPOSITORY/docker/scripts/recycle.sh" >> /etc/crontab
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -1,9 +1,3 @@
|
|||
terraform {
|
||||
backend "gcs" {
|
||||
bucket = "${var.DESKTOP_ENVIRONMENT_REGISTRY}-${var.DESKTOP_ENVIRONMENT_CONTAINER}"
|
||||
}
|
||||
}
|
||||
|
||||
provider "google" {
|
||||
project = "${var.gcp_project}"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue