diff options
author | Christopher Baines <mail@cbaines.net> | 2018-07-03 20:21:23 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-07-03 20:21:23 +0100 |
commit | 85db18914af4c393fe35c6b7f8dbbff96ae969fb (patch) | |
tree | 3fd17fcd327801f649b22b0eae61f30a49ef3178 /terraform | |
parent | e3e62fbaaf69920a44d779e946e80949fbc55cac (diff) | |
download | govuk-mini-environment-admin-85db18914af4c393fe35c6b7f8dbbff96ae969fb.tar govuk-mini-environment-admin-85db18914af4c393fe35c6b7f8dbbff96ae969fb.tar.gz |
Make the ~/.config directory during provisioning
This ensures that it's owned by the ubuntu user.
Diffstat (limited to 'terraform')
-rw-r--r-- | terraform/aws/backend/main.tf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/terraform/aws/backend/main.tf b/terraform/aws/backend/main.tf index e066034..66b273b 100644 --- a/terraform/aws/backend/main.tf +++ b/terraform/aws/backend/main.tf @@ -303,6 +303,7 @@ EOF "sudo systemctl daemon-reload", "sudo systemctl enable guix-daemon.service", "sudo systemctl start guix-daemon.service", + "mkdir -p ~/.config", # Make the ~/.config directory, to ensure it's owned by ubuntu <<EOF if [ ! -d "/var/guix/profiles/per-user/ubuntu" ]; then /var/guix/profiles/per-user/root/guix-profile/bin/guix package -i guile guix |