vmware/packer-examples-for-vsphere

Packer Examples for VMware vSphere

986

stars

549

commits

HCL

primary language

Aug 3, 2026

updated

vmware.github.io/packer-examples-for-vsphere/
packer
packer-examples
packer-templates
vmware-cloud-foundation
vmware-vsphere

README

VMware vSphere

Packer Examples for VMware vSphere

Last Commit   Documentation

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 SystemVersion
VMware Photon OS5
4
Debian13
12
11
Ubuntu Server24.04 LTS
22.04 LTS
Red Hat Enterprise Linux10
9
8
AlmaLinux OS10
9
8
Rocky Linux10
9
8
Oracle Linux10
9
8
CentOS Stream10
9
Fedora Server43
SUSE Linux Enterprise Server15

Microsoft Windows

Operating SystemVersionEditionsExperience
Microsoft Windows Server2025Standard and DatacenterCore and Desktop
2022Standard and DatacenterCore and Desktop
2019Standard and DatacenterCore and Desktop
Microsoft Windows11Professional and Enterprise-

Documentation

Please refer to the documentation for more detailed information about this project.

Contributing

The project team welcomes contributions from the community. All contributions to this repository must be signed as described on that page. Your signature certifies that you wrote the patch or have the right to pass it on as an open-source patch.

For more detailed information, refer to the contribution guidelines to get started.

Support

This project is not supported by Broadcom Support.

We welcome you to use the GitHub issues tracker to report bugs or suggest features and enhancements.

When filing an issue, please check existing open, or recently closed, issues to make sure someone else hasn't already reported the issue.

Please try to include as much information as you can. Details like these are incredibly useful:

  • A reproducible test case or series of steps.
  • Any modifications you've made relevant to the bug.
  • Anything unusual about your environment or deployment.

You can also start a discussion on the discussions area to ask questions or share ideas.

License

© Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Available under the Simplified BSD License.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Contributors

(top 30 of 35)

dependabot[bot]

223 commits

tenthirtyam

208 commits

burnsjared0415

32 commits

sestegra

20 commits

vmware/packer-examples-for-vsphere

Packer Examples for VMware vSphere

986

stars

549

commits

HCL

primary language

Aug 3, 2026

updated

vmware.github.io/packer-examples-for-vsphere/
packer
packer-examples
packer-templates
vmware-cloud-foundation
vmware-vsphere

README

VMware vSphere

Packer Examples for VMware vSphere

Last Commit   Documentation

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 SystemVersion
VMware Photon OS5
4
Debian13
12
11
Ubuntu Server24.04 LTS
22.04 LTS
Red Hat Enterprise Linux10
9
8
AlmaLinux OS10
9
8
Rocky Linux10
9
8
Oracle Linux10
9
8
CentOS Stream10
9
Fedora Server43
SUSE Linux Enterprise Server15

Microsoft Windows

Operating SystemVersionEditionsExperience
Microsoft Windows Server2025Standard and DatacenterCore and Desktop
2022Standard and DatacenterCore and Desktop
2019Standard and DatacenterCore and Desktop
Microsoft Windows11Professional and Enterprise-

Documentation

Please refer to the documentation for more detailed information about this project.

Contributing

The project team welcomes contributions from the community. All contributions to this repository must be signed as described on that page. Your signature certifies that you wrote the patch or have the right to pass it on as an open-source patch.

For more detailed information, refer to the contribution guidelines to get started.

Support

This project is not supported by Broadcom Support.

We welcome you to use the GitHub issues tracker to report bugs or suggest features and enhancements.

When filing an issue, please check existing open, or recently closed, issues to make sure someone else hasn't already reported the issue.

Please try to include as much information as you can. Details like these are incredibly useful:

  • A reproducible test case or series of steps.
  • Any modifications you've made relevant to the bug.
  • Anything unusual about your environment or deployment.

You can also start a discussion on the discussions area to ask questions or share ideas.

License

© Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Available under the Simplified BSD License.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Contributors

(top 30 of 35)

dependabot[bot]

223 commits

tenthirtyam

208 commits

burnsjared0415

32 commits

sestegra

20 commits

Languages

HCL

89.6%

Shell

9.2%