Golden-Image VM Provisioning
Cloning one cloud-init template into consistent VMs: per-VM config injection, grow-on-first-boot, and a clean teardown flow.
Why golden images
There are ~15 VMs in this lab. Not one of them was installed from an ISO by hand. Every single on...
The template
The template is one VM (ID 9999) prepared once: a current Ubuntu cloud image, the QEMU guest agen...
Injecting per-VM identity with cloud-init
Cloning gives you fifteen identical machines. Cloud-init is what makes each one itself on first b...
Grow-on-first-boot, and a clean teardown
Two finishing touches make the recipe pleasant to live with. Disks grow to fit. The template's di...
Lessons on provisioning
One golden image, cloned many times. Consistency first; it kills "works on that box" bugs. Bake ...