Skip to content

Commit

Permalink
[Bug Fix] CHK-18 Add user to authkeys download and gitignore (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
caseylitton authored Mar 13, 2018
1 parent dc41f3f commit e7ab549
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,7 @@ pyvenv.cfg
checkfiles/.DS_Store

.DS_Store

# Created while using checkfiles
lib64
share/
4 changes: 2 additions & 2 deletions cloud-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ packages:
runcmd:
- set -ex
- pip install awscli
- mv /home/ubuntu/.ssh/authorized_keys /home/ubuntu/.ssh/authorized_keys2
- aws s3 cp --region=us-west-2 %(S3_AUTH_KEYS)s /home/ubuntu/.ssh/authorized_keys
- sudo -u ubuntu mv /home/ubuntu/.ssh/authorized_keys /home/ubuntu/.ssh/authorized_keys2
- sudo -u ubuntu aws s3 cp --region=us-west-2 %(S3_AUTH_KEYS)s /home/ubuntu/.ssh/authorized_keys
- systemctl daemon-reload # See https://bugs.launchpad.net/cloud-init/+bug/1449318
- mkdir -p /s3/encode-files
- mkdir -p /s3/encoded-files-dev
Expand Down

0 comments on commit e7ab549

Please sign in to comment.