Last active
October 31, 2015 11:33
-
-
Save seventhskye/ab640169130f5d78d268 to your computer and use it in GitHub Desktop.
Installs the aws-cfn-bootstrap helper scripts on Debian.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -ex | |
apt-get update | |
apt-get -y install python-setuptools | |
mkdir aws-cfn-bootstrap-latest | |
curl https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz | tar xz -C aws-cfn-bootstrap-latest --strip-components 1 | |
easy_install aws-cfn-bootstrap-latest | |
cp -f aws-cfn-bootstrap-latest/init/ubuntu/cfn-hup /etc/init.d/ && chmod 0755 /etc/init.d/cfn-hup | |
update-rc.d cfn-hup defaults | |
service cfn-hup start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment