Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 826 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 826 Bytes

cloud-init-virt

How-to:

  1. Clone this repository:
git clone https://github.com/bkanuka/cloud-init-virt.git
  1. 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
  1. Copy config.sample to config:
cp config.sample config
  1. Edit config to set the Hostname and some other things.
  2. 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
  3. Run ./install
  4. If finished, ./destroy [hostname] will completely remove the VM including storage.