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 | Customization: VMTools | Customization: cloud-init | Network: DHCP or Static | Storage: Customize |
VMware Photon OS | 5.0 | ||||
4.0 | |||||
Debian | 12 | ||||
11 | |||||
Ubuntu Server | 24.04 | ||||
22.04 | |||||
20.04 | |||||
Red Hat Enterprise Linux | 9 | ||||
8 | |||||
AlmaLinux OS | 9 | ||||
8 | |||||
Rocky Linux | 9 | ||||
8 | |||||
Oracle Linux | 9 | ||||
8 | |||||
CentOS | 9 Stream | ||||
7 | |||||
Fedora | 40 | ||||
SUSE Linux Enterprise | 15 |
Microsoft Windows¶
Operating System | Version | Editions | Experience |
Microsoft Windows Server | 2025 | Standard, Enterprise | Core, Desktop |
2022 | Standard, Enterprise | Core, Desktop | |
2019 | Standard, Enterprise | Core, Desktop | |
Microsoft Windows | 11 | Professional, Enterprise | - |
10 | Professional, Enterprise | - |