smoser

debian cloud image demo with cloud-init and NoCloud

by smoser 2017-08-03 18:04:24 UTC
  • Linux / bash / screen.xterm-256color
  • 243

This will demonstrate booting the debian openstack 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 debian image is unmodified from a download at
https://cdimage.debian.org/cdimage/openstack/

To keep the original image clean we use qemu-img to create a
copy-on-write image in qcow2 format backed by the original
debian-9.1.1-20170725-openstack-amd64.qcow2 .

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