Created
January 16, 2012 14:41
-
-
Save weavenet/1621166 to your computer and use it in GitHub Desktop.
Install AWS Cloud Init On RHEL 6u2
This file contains hidden or 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 | |
# For latest cloud init source see | |
# http://aws.amazon.com/developertools/4026240853893296 | |
# Download archive | |
wget https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-1.0-6.zip | |
# Unzip archive | |
unzip aws-cfn-*.zip | |
# Run python setup.py | |
cd aws-cfn* && python setup.py install |
You are going to at least need:
easy_install requests
And probably:
easy_install python-daemon
As they are dependencies of the python scripts.
It's a lot easier to do with epel-release; after a bunch of work I came up with this: https://gist.github.com/11xor6/4737097
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AWS now has a smarter link, so you'll always download the latest version of cfn tools without having to change the script:
https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz
Thanks!