Create OVA using vmware ovftool on ESXi or Vcenter
-
Download ovftool for Windows 64 from vmware.com and install.
-
From an elevated command prompt, navigate to c:\Program Files\VMware\VMware OVF Tool
-
Run any of the following commands depending on your environment:
VCENTER Example:
ovftool --noSSLVerify vi://[USERNAME]@[VHOST]/[DATACENTER]/vm/[MACHINE_NAME] C:\ova\[OVA_MACHINE_NAME].ova
ESXi Example (Share):
ovftool --noSSLVerify vi://[USERNAME]@[ESXI_HOST]/[MACHINE_NAME] \\[FILE_SERVER]\[SHARE]\[MACHINE_NAME].ova