Golden Image
Cheat sheet · https://pcornel.dk/topic.php?topic=3556
Answer
A golden image is the approved, patched and hardened master OS image that all VMs for a role are built from. Version it, rebuild it regularly, and avoid manual changes to deployed copies so they stay consistent.
Remember
- Version every image build.
- Test an image before publishing it.
First checks
virt-sysprep -a image.qcow2— clean image identifierssha256sum golden-<ver>.qcow2— image checksumGet-WindowsImage -ImagePath install.wim— Windows image info
Verify in this order
build pipeline → golden image → templates → VMs
Where it usually breaks
First mismatch in guest/app quiescence → hypervisor snapshot/template task → metadata/backing chain → storage durability → restore/clone read-back; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3556