Packer Examples for VMware vSphere¶
This repository provides a collection of opinionated examples that demonstrate how you can use both HashiCorp Packer and the Packer Plugin for VMware vSphere (vsphere-iso
builder) to automate the creation of virtual machine images for VMware vSphere environments.
Whether you're a developer, systems administrator, or site reliability engineer, this project is designed to both help and inspire you in streamlining your infrastructure provisioning process and maintain consistency in your virtualization workflow.
All examples are provided in the HashiCorp Configuration Language ("HCL").
This project supports the following guest operating systems:
Linux Distributions¶
Operating System | Version | VMTools Customization | Cloud-Init Customization | Network Variables | Storage Variables |
VMware Photon OS | 5.0 | ||||
4.0 | |||||
Debian | 12 | ||||
11 | |||||
Ubuntu Server | 23.10 | ||||
22.04 LTS | |||||
20.04 LTS | |||||
Red Hat Enterprise Linux | 9 | ||||
8 | |||||
7 | |||||
AlmaLinux OS | 9 | ||||
8 | |||||
Rocky Linux | 9 | ||||
8 | |||||
Oracle Linux | 9 | ||||
8 | |||||
CentOS | 9 Stream | ||||
8 Stream | |||||
7 | |||||
SUSE Linux Enterprise | 15 |
Microsoft Windows¶
Operating System | Version | Editions | Experience |
Microsoft Windows Server | 2025 | Standard and Enterprise | Core and Desktop |
2022 | Standard and Enterprise | Core and Desktop | |
2019 | Standard and Enterprise | Core and Desktop | |
Microsoft Windows | 11 | Professional and Enterprise | - |
10 | Professional and Enterprise | - |