Created
September 10, 2013 21:47
-
-
Save viglesiasce/6516211 to your computer and use it in GitHub Desktop.
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
| Content-Type: multipart/mixed; boundary="===============5423618256409275201==" | |
| MIME-Version: 1.0 | |
| --===============5423618256409275201== | |
| Content-Type: text/x-shellscript; charset="us-ascii" | |
| MIME-Version: 1.0 | |
| Content-Transfer-Encoding: 7bit | |
| Content-Disposition: attachment; filename="setup-sabnzbd.sh" | |
| #!/bin/bash | |
| export EC2_URL=http://10.0.1.91:8773/services/Eucalyptus | |
| export EC2_ACCESS_KEY='REDACTED' | |
| export EC2_SECRET_KEY='REDACTEDREDACTED' | |
| instance_id=`curl http://169.254.169.254/latest/meta-data/instance-id` | |
| instance_ip=`curl http://169.254.169.254/latest/meta-data/local-ipv4` | |
| volume=vol-234234223 | |
| euca-attach-volume -i $instance_id $volume -d /dev/vdb | |
| --===============5423618256409275201== | |
| Content-Type: text/cloud-config; charset="us-ascii" | |
| MIME-Version: 1.0 | |
| Content-Transfer-Encoding: 7bit | |
| Content-Disposition: attachment; filename="cloud-config.txt" | |
| #cloud-config | |
| disable_root: false | |
| apt_mirror: http://us.archive.ubuntu.com/ubuntu/ | |
| byobu_by_default: system | |
| resize_rootfs: True | |
| packages: | |
| - ntp | |
| --===============5423618256409275201==-- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment