don't need static uec meta/user data since we generate
This commit is contained in:
parent
f0b41f3fb7
commit
955e5e73f2
@ -1,19 +0,0 @@
|
|||||||
#ami-id: ami-fd4aa494
|
|
||||||
#ami-launch-index: '0'
|
|
||||||
#ami-manifest-path: ubuntu-images-us/ubuntu-lucid-10.04-amd64-server-20100427.1.manifest.xml
|
|
||||||
#block-device-mapping: {ami: sda1, ephemeral0: sdb, ephemeral1: sdc, root: /dev/sda1}
|
|
||||||
hostname: smoser-sys
|
|
||||||
#instance-action: none
|
|
||||||
instance-id: i-87018aed
|
|
||||||
instance-type: m1.large
|
|
||||||
#kernel-id: aki-c8b258a1
|
|
||||||
local-hostname: smoser-sys.mosers.us
|
|
||||||
#local-ipv4: 10.223.26.178
|
|
||||||
#placement: {availability-zone: us-east-1d}
|
|
||||||
#public-hostname: ec2-184-72-174-120.compute-1.amazonaws.com
|
|
||||||
#public-ipv4: 184.72.174.120
|
|
||||||
#public-keys:
|
|
||||||
# ec2-keypair.us-east-1: [ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCD9dlT00vOUC8Ttq6YH8RzUCVqPQl6HaSfWSTKYnZiVCpTBj1CaRZPLRLmkSB9Nziy4aRJa/LZMbBHXytQKnB1psvNknqC2UNlrXXMk+Vx5S4vg21MXYYimK4uZEY0Qz29QUiTyNsx18jpAaF4ocUpTpRhxPEBCcSCDmMbc27MU2XuTbasM2NjW/w0bBF3ZFhdH68dZICXdTxS2jUrtrCnc1D/QXVZ5kQO3jsmSyJg8E0nE+6Onpx2YRoVRSwjpGzVZ+BlXPnN5xBREBG8XxzhNFHJbek+RgK5TfL+k4yD4XhnVZuZu53cBAFhj+xPKhtisSd+YmaEq+Jt9uS0Ekd5
|
|
||||||
# ec2-keypair.us-east-1, '']
|
|
||||||
#reservation-id: r-e2225889
|
|
||||||
#security-groups: default
|
|
@ -1,32 +0,0 @@
|
|||||||
#cloud-config
|
|
||||||
#apt_update: false
|
|
||||||
#apt_upgrade: true
|
|
||||||
#packages: [ bzr, pastebinit, ubuntu-dev-tools, ccache, bzr-builddeb, vim-nox, git-core, lftp ]
|
|
||||||
|
|
||||||
apt_sources:
|
|
||||||
- source: ppa:smoser/ppa
|
|
||||||
|
|
||||||
disable_root: True
|
|
||||||
|
|
||||||
mounts:
|
|
||||||
- [ ephemeral0, None ]
|
|
||||||
- [ swap, None ]
|
|
||||||
|
|
||||||
ssh_import_id: [smoser ]
|
|
||||||
|
|
||||||
sm_misc:
|
|
||||||
- &user_setup |
|
|
||||||
set -x; exec > ~/user_setup.log 2>&1
|
|
||||||
echo "starting at $(date -R)"
|
|
||||||
echo "set -o vi" >> ~/.bashrc
|
|
||||||
cat >> ~/.profile <<EOF
|
|
||||||
export EDITOR=vi
|
|
||||||
EOF
|
|
||||||
|
|
||||||
runcmd:
|
|
||||||
- [ sudo, -Hu, ubuntu, sh, -c, 'grep "cloud-init.*running" /var/log/cloud-init.log > ~/runcmd.log' ]
|
|
||||||
- [ sudo, -Hu, ubuntu, sh, -c, 'read up sleep < /proc/uptime; echo $(date): runcmd up at $up | tee -a ~/runcmd.log' ]
|
|
||||||
- [ sudo, -Hu, ubuntu, sh, -c, *user_setup ]
|
|
||||||
|
|
||||||
password: passw0rd
|
|
||||||
chpasswd: { expire: False }
|
|
Loading…
Reference in New Issue
Block a user