Skip to content

Instantly share code, notes, and snippets.

@benschw
Created January 21, 2014 16:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benschw/8543241 to your computer and use it in GitHub Desktop.
Save benschw/8543241 to your computer and use it in GitHub Desktop.
clout init user_data to add heat-cfntools to a base image; script to apply it
#cloud-config
ssh_import_id: [steve-stevebaker]
apt_sources:
- source: "ppa:steve-stevebaker/heat-cfntools"
runcmd:
- [ apt-get, heat-cfntools ]
nova boot --flavor m1.tiny --image ubuntu-precise --user-data ./heat-cfn-user_data.txt --nic net-id=1152a93b-d221-41a7-b5be-3428ed991eb2 ubuntuinst
nova stop ubuntuinst
nova image-create ubuntuinst ubuntu-heat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment