Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Export VM as a OVF file from VMware Fusion

Tags:

I am currently running VMware Fusion 6 on 10.9. I know that in ESX, and I believe even VMware Workstation, you can export a VM to a OVF file and redeploy on VirtualBox, VMware Workstaion/Fusion, and ESX.

My question is, is there a way I can make a OVF file on Fusion for the VM I want to deploy or am I out of luck?

like image 421
user181895 Avatar asked Dec 11 '13 21:12

user181895


People also ask

What is the difference between OVA and OVF?

An OVA package is a single archive file, in the Tape Archive (tar) format, containing the files that comprise an OVF Package. OVF does not specify a disk image format. An OVF package includes files comprising virtual disks in the format defined by the virtualization product that exported the virtual disks.

What is the difference between an OVF and an VM template?

The OVA (Open Virtual Appliance) file is similar to the TAR archive file; it can contain multiple OVF files. VM templates are not compressed. They can be accessed only from locations available for vCenter (local ESXi datastore, shared datastore) and are not intended for distribution among customers.


2 Answers

cd /Applications/VMware\ Fusion.app/Contents/Library/VMware\ OVF\ Tool/  ./ovftool  <PATH TO SOURCE VM's .vmx file>   <PATH TO OUTPUT ova file>  # example  ./ovftool --acceptAllEulas ~/Documents/Virtual\ Machines.localized/CentOS\ 6.5.vmwarevm/CentOS\ 6.5.vmx      /tmp/CentOS6.5.ova 
like image 73
marathon Avatar answered Sep 28 '22 18:09

marathon


./ovftool --acceptAllEulas /Users/admin/Documents/Virtual Machines.localized/IDM.vmwarevm/IDM.vmx ~/Users/admin/Documents/IDM.ova

like image 23
Rk1 Avatar answered Sep 28 '22 20:09

Rk1