Created
February 7, 2013 21:20
-
-
Save tmatilai/4734265 to your computer and use it in GitHub Desktop.
Builds a Debian Wheezy AMI using https://github.com/andsens/ec2debian-build-ami.
Based on http://wiki.debian.org/Cloud/AmazonEC2Image/Squeeze.
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/sh | |
set -e | |
CONF='.ec2-credentials' | |
if [ -f "$CONF" ]; then | |
# export EC2_URL=https://ec2.us-east-1.amazonaws.com/ | |
# export EC2_ACCESS_KEY='' | |
# export EC2_SECRET_KEY='' | |
. "$CONF" | |
fi | |
apt-get update | |
apt-get install -qy git | |
git clone https://github.com/andsens/ec2debian-build-ami.git | |
cd ec2debian-build-ami | |
./ec2debian-build-ami --codename wheezy --volume-size 8 --plugin plugins/admin-user --description 'Debian 7.0 Wheezy (pre)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment