This commit is contained in:
Jackson Delahunt 2019-02-26 21:37:14 +11:00
parent 4698de03a0
commit f72cc3481b
3 changed files with 3 additions and 8 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
credentials.json
logs/
terraform*

View file

@ -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

View file

@ -1,9 +1,3 @@
terraform {
backend "gcs" {
bucket = "${var.DESKTOP_ENVIRONMENT_REGISTRY}-${var.DESKTOP_ENVIRONMENT_CONTAINER}"
}
}
provider "google" {
project = "${var.gcp_project}"
}