- Clone this repository:
git clone https://github.com/bkanuka/cloud-init-virt.git
- Go to http://cloud-images.ubuntu.com/trusty/current/ and download the image of choice. Most likely this can be accomplished using:
wget http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img
- Copy
config.sample to config:
- Edit
config to set the Hostname and some other things.
- Edit
user-data to your liking. Unfortunately I have not found any good guides for this. I've collected some things from http://cloudinit.readthedocs.org/en/latest/topics/examples.html
- Run
./install
- If finished,
./destroy [hostname] will completely remove the VM including storage.