Automation · VMware Automation
Templates
Cheat sheet · https://pcornel.dk/topic.php?topic=5736
Answer
VMware template automation builds, updates and deploys VM templates and content library items, often with Packer, and applies guest customization specifications at deployment.
Remember
- Build templates with Packer.
- Publish via content library.
- Apply customization specs at deploy.
First checks
Get-Template— templatesGet-ContentLibraryItem— library items- Packer vsphere-iso builds — template pipeline
Verify in this order
Packer → template/library → deployments
Where it usually breaks
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5736