Automated template creation using Hashicorp Packer
I updated recently my template to leverage the vsphere-iso builder (instead of vmware-iso); The vsphere-iso builder, previously maintained by JetBrains, has been merged with the Packer core in Packer 1.5.2. It will be officially supported by the Packer team at HashiCorp moving forward.
I moved to the vsphere-iso builder for 2 main reasons:
- This builder uses the vSphere API and does neither require the SSH service running on the ESXi host nor ESXi host modification (GuestIPHack enabled).
- I can use a distributed port group to connect my template during the creation.
Note: Ubuntu 18.04 LTS is the only template provided in this repository.
Step 1 - Clone the git repository
Step 2 - Edit the
Step 3 - Build the template