smoser

Ubuntu cloud image demonstration

by smoser 2017-08-03 18:32:09 UTC
  • Linux / bash / screen.xterm-256color
  • 280

This will demonstrate booting an Ubuntu cloud image locally
under qemu-system-x86_64 and providing it information on a second disk
that is read by the NoCloud datasource in cloud-init.

The 16.04 Ubuntu cloud image is unmodified from a download at
http://cloud-images.ubuntu.com/releases/xenial/

To keep the original image clean we use qemu-img to create a
copy-on-write image in qcow2 format backed by the original
ubuntu-16.04-server-cloudimg-amd64-disk1.img .

'cloud-localds' is used to create the 'seed.img' is available in
the cloud-image-utils package.