Templates
Cheat sheet · https://pcornel.dk/topic.php?topic=3737
Answer
A template captures a reusable base, but uniqueness and runtime configuration such as identity, SSH keys, network addressing and secrets must be applied per deployed instance.
Remember
- Template bootability ≠ clone uniqueness.
- Linked clone dependency differs from full clone independence.
- Stale packages in a template propagate to every clone.
- Template state is not a substitute for configuration management.
First checks
qm template <vmid>— convertqm clone <tpl> <new> --name <n> [--full]— cloneqm config <tpl> | grep template— template flag
Verify in this order
VM → template → linked/full clones
Where it usually breaks
First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.
Proxmox VE → Templates reference map
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Configured state | Expected Templates configuration is present | Configuration alone does not prove runtime behavior |
| Runtime state | Relevant Templates service/object is active and error-free | Runtime state does not prove dependencies |
| Dependency | Backing network, storage, cluster or host dependency is healthy | Local success does not prove end-to-end outcome |
| Acceptance | Original VM/container/workload test succeeds | Required to close the incident |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3737