Friday, January 9, 2015

vmware vsphere - Exporting VM as OVA in ESXi 6.5



How can I export a VM in the OVA format with VMware ESXi 6.5?




In vCenter (vSphere Client version 6.5) I can only export as an OVF. The same is true for the ESXi web client.



The old application (VMware vSphere Client 6.0 and bellow) allowed me to pick OVA, but I can't access an ESXi 6.5 host with this application. The error I get is:




"The required client support files need to be retrieved from the server "0.0.0.0" and installed"




I've tried using VMware OVF Tool to convert from OVF + VMDK to OVA without success. Is there any other solution?



Answer



You can use the PowerCLI cmdlet Export-VApp.



From the documentation:




If the value of the Destination parameter is a folder, the vApp or the virtual machine is exported to a container folder (OVF). If the destination is a file, the vApp or the virtual machine is exported in OVA format.




Don't let the name fool you, it's not only for VApps.



No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...