github.com/StackPointCloud/packer@v0.10.2-0.20180716202532-b28098e0f79b/website/source/docs/post-processors/vsphere.html.md (about) 1 --- 2 description: | 3 The Packer vSphere post-processor takes an artifact from the VMware builder 4 and uploads it to a vSphere endpoint. 5 layout: docs 6 page_title: 'vSphere - Post-Processors' 7 sidebar_current: 'docs-post-processors-vsphere' 8 --- 9 10 # vSphere Post-Processor 11 12 Type: `vsphere` 13 14 The Packer vSphere post-processor takes an artifact from the VMware builder and 15 uploads it to a vSphere endpoint. 16 17 ## Configuration 18 19 There are many configuration options available for the post-processor. They are 20 segmented below into two categories: required and optional parameters. Within 21 each category, the available configuration keys are alphabetized. 22 23 Required: 24 25 - `cluster` (string) - The cluster to upload the VM to. 26 27 - `datacenter` (string) - The name of the datacenter within vSphere to add the 28 VM to. 29 30 - `datastore` (string) - The name of the datastore to store this VM. This is 31 *not required* if `resource_pool` is specified. 32 33 - `host` (string) - The vSphere host that will be contacted to perform the 34 VM upload. 35 36 - `password` (string) - Password to use to authenticate to the 37 vSphere endpoint. 38 39 - `username` (string) - The username to use to authenticate to the 40 vSphere endpoint. 41 42 - `vm_name` (string) - The name of the VM once it is uploaded. 43 44 Optional: 45 46 - `disk_mode` (string) - Target disk format. See `ovftool` manual for 47 available options. By default, "thick" will be used. 48 49 - `insecure` (boolean) - Whether or not the connection to vSphere can be done 50 over an insecure connection. By default this is false. 51 52 - `resource_pool` (string) - The resource pool to upload the VM to. 53 54 - `vm_folder` (string) - The folder within the datastore to store the VM. 55 56 - `vm_network` (string) - The name of the VM network this VM will be 57 added to. 58 59 - `overwrite` (boolean) - If it's true force the system to overwrite the 60 existing files instead create new ones. Default is false 61 62 - `options` (array of strings) - Custom options to add in ovftool. See `ovftool --help` to list all the options