Skip to content

Instantly share code, notes, and snippets.

@HarshitRuwali
Last active December 20, 2020 06:13
Show Gist options
  • Save HarshitRuwali/0a5918ac46648e27c1f5d5a72e535d87 to your computer and use it in GitHub Desktop.
Save HarshitRuwali/0a5918ac46648e27c1f5d5a72e535d87 to your computer and use it in GitHub Desktop.
Export the VMWare Fusion VMs to ova or ovf.

Exporting VMWare Fusion VMs

Firstly make sure that you have powered off your VM.

Now run the following commands.

cd /Applications/VMware\ Fusion.app/Contents/Library/VMware\ OVF\ Tool/

This takes us to the OVF tool in VMWare Fusion app(its dosnt have GUI support). Its same for all Mac users.

Now in the next command specify the path to your VM placed in your Mac. And the export location, followed by the exporting format(ova or ovf).

./ovftool --acceptAllEulas ~/path/to/ur/VM/VM_name.vmwarevm/VM_name.vmx ~/path/to/export/VM_export_name.ova

Example:

./ovftool --acceptAllEulas ~/opt/Kali.vmwarevm/Kali.vmx ~/Desktop/Kali.ova

This will now create a ova or ovf file at your desired location.

Now you can easily share your modified VM with anyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment