The aim is to have a full Linux OS available, with its own kernel. It will be minimal, meaning no GUI, terminal only and very limited software installed. The VM will be built around a Ubuntu cloud image, using cloud-inits to kick it off.
If you just want to use the VM, jump to "Running the VM image".
On a Linux host, make sure the following packages are installed: qemu-system-x86 qemu-kvm cloud-image-utils qemu-utils genisoimage wget
Run the init-lab.sh script. It does the following: