Skip to content

Instantly share code, notes, and snippets.

@jsanz
Last active January 10, 2019 14:03
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsanz/26a3bb8544270c548b1b7a73ba3c04d2 to your computer and use it in GitHub Desktop.
Save jsanz/26a3bb8544270c548b1b7a73ba3c04d2 to your computer and use it in GitHub Desktop.
Making a OVA file compatible with VMWare

This is a recipe to fix this error when importing to VMWare an OVA file:

Download and install OVFTool (https://www.vmware.com/support/developer/ovf/)

Convert OVA to VMX using the command below (this will create example.vmx)

$ ovftool example.ova example.vmx

Note: If this command fails, try to re-run again adding the option --lax so error on the version of the metadata is converted into a warning.

Now edit the VMX file and look for “virtualhw.version” parameter, change it ("10" is usually ok, but the actual value depends on your VMWare setup) and save the file.

virtualhw.version = "10"

Convert VMX back to OVA using the same command.

$ ovftool example.vmx example.ova
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment