search for: ec2init

Displaying 1 result from an estimated 1 matches for "ec2init".

Did you mean: ac_init
2010 Nov 07
14
EC2 with puppet bootstrap notes and scripts
...-name "example.com"; EOF # add puppetmaster to hosts file cat <<EOF > /etc/hosts 127.0.0.1 localhost 10.111.222.3 puppetmaster.example.com puppet.example.com puppet EOF # add a script to set hostname from userdata set when instance is started cat <<EOF > /etc/puppet/ec2init.sh #!/bin/bash # simple hack, really needs some sanity checking # wait for data since it takes a while to show up at first sleep 120 # the hostname data is added via something like: # shell> ec2-run-instances ... --user-data "myservername" ami-123abc # by definition, the first line M...