VM Template
Cheat sheet · https://pcornel.dk/topic.php?topic=3555
Answer
A VM template is a read-only master VM used only for cloning. It holds the configured OS, virtual hardware and agents, and new VMs are deployed from it with guest customization for name, network and identity.
Remember
- A template is a read-only master; never run it as a VM.
- Generalize before converting to a template.
- Keep guest agents current in the template.
First checks
qm template <vmid>— convert to template (Proxmox)qm config <vmid> | grep template— template flagGet-VMTemplate (SCVMM)— SCVMM templates
Commands
qm agent <vmid> pingqm template 9000
Verify in this order
VM → template flag → clone source
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=3555