2013-11-20 16:05:22 -05:00
|
|
|
---
|
2017-06-14 21:04:16 -04:00
|
|
|
description: |
|
|
|
|
The VMware Packer builder is able to create VMware virtual machines for use
|
|
|
|
with any VMware product.
|
2015-07-22 22:31:00 -04:00
|
|
|
layout: docs
|
2017-06-14 21:04:16 -04:00
|
|
|
page_title: 'VMware - Builders'
|
|
|
|
sidebar_current: 'docs-builders-vmware'
|
2017-03-25 18:13:52 -04:00
|
|
|
---
|
2013-06-10 19:04:56 -04:00
|
|
|
|
|
|
|
# VMware Builder
|
|
|
|
|
2018-10-26 20:02:51 -04:00
|
|
|
The VMware Packer builder is able to create VMware virtual machines for use
|
|
|
|
with any VMware product.
|
2013-06-10 19:04:56 -04:00
|
|
|
|
2015-07-22 22:31:00 -04:00
|
|
|
Packer actually comes with multiple builders able to create VMware machines,
|
|
|
|
depending on the strategy you want to use to build the image. Packer supports
|
|
|
|
the following VMware builders:
|
2013-06-10 19:04:56 -04:00
|
|
|
|
2017-06-14 21:04:16 -04:00
|
|
|
- [vmware-iso](/docs/builders/vmware-iso.html) - Starts from an ISO file,
|
2018-10-26 20:02:51 -04:00
|
|
|
creates a brand new VMware VM, installs an OS, provisions software within
|
|
|
|
the OS, then exports that machine to create an image. This is best for
|
|
|
|
people who want to start from scratch.
|
2013-06-10 19:04:56 -04:00
|
|
|
|
2017-06-14 21:04:16 -04:00
|
|
|
- [vmware-vmx](/docs/builders/vmware-vmx.html) - This builder imports an
|
|
|
|
existing VMware machine (from a VMX file), runs provisioners on top of that
|
2018-10-26 20:02:51 -04:00
|
|
|
VM, and exports that machine to create an image. This is best if you have
|
|
|
|
an existing VMware VM you want to use as the source. As an additional
|
|
|
|
benefit, you can feed the artifact of this builder back into Packer to
|
|
|
|
iterate on a machine.
|
2020-01-07 19:59:31 -05:00
|
|
|
|
|
|
|
- [vsphere-iso](/docs/builders/vsphere-iso.html) - This builder starts from an
|
|
|
|
ISO file, but utilizes the vSphere API rather than the esxcli to build on a
|
|
|
|
remote esx instance. This allows you to build vms even if you do not have
|
|
|
|
SSH access to your vSphere cluster.
|
|
|
|
|
|
|
|
- [vsphere-clone](/docs/builders/vsphere-clone.html) - This builder clones a
|
|
|
|
vm from an existing template, then modifies it and saves it as a new
|
|
|
|
template. It uses the vSphere API rather than the esxcli to build on a
|
|
|
|
remote esx instance. This allows you to build vms even if you do not have
|
|
|
|
SSH access to your vSphere cluster.
|