Created
August 15, 2012 05:59
-
-
Save clarenceb/3356721 to your computer and use it in GitHub Desktop.
AWS Training - 2nd instance launch with user data script
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 | |
| exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1 | |
| dpkg --configure -a | |
| wget http://bit.ly/aws-ec2id -O aws-ec2id | |
| nohup bash aws-ec2id & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment