packer-cn/website/source/docs/builders/vmware.html.md

1.2 KiB

layout sidebar_current page_title description
docs docs-builders-vmware VMware - Builders The VMware Packer builder is able to create VMware virtual machines for use with any VMware product.

VMware Builder

The VMware Packer builder is able to create VMware virtual machines for use with any VMware product.

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:

  • vmware-iso - Starts from an ISO file, 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.

  • vmware-vmx - This builder imports an existing VMware machine (from a VMX file), runs provisioners on top of that 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.