mitchellh/packer — pull request #613 by mheidenr (2013-11-11 09:07:04+00:00)
Title: added post-processor-vsphere

I refactored my post-processor for uploading vms to vSphere and integrated it directly into packer.

Here is how to use it:

"post-processors": [
{
"type": "vsphere",
"vm_name": "My_VM",
"vm_folder": "Test-VMs",
"host": "vcenter.domain.tld",
"username": "me",
"password": "secret",
"datacenter": "dc",
"datastore": "ds1",
"vm_network": "Test_Network",
"path_to_resouce_pool": "host/Dev_Cluster/Resources/Test_Pool,
"insecure" : true
}
]

Make sure you have VMware OVF Tool installed and included in PATH.