Skip to content

Instantly share code, notes, and snippets.

View nathantsoi's full-sized avatar

Nathan nathantsoi

View GitHub Profile
# We need the latest epel-release for a RHEL/Centos specific cloud-init
curl -O http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6-8.noarch.rpm
# After this finishes you can build an AMI that will process the user data
# with cloud-init. You may also be interested in taking a look at the config
# file at /etc/cloud/cloud.cfg
yum install -y cloud-init
# edits /etc/cloud/cloud.cfg