convert vmdk to ova using ovftool

27,652

Try this command:

ovftool [original .vmx location and filename] [new .ova location and filename]

Example:

ovftool test_machine.vmx test_machine.ova

If you don't have .vmx then you can also say

ovftool test_machine.ovf test_machine.ovf

Share:
27,652
Admin
Author by

Admin

Updated on September 13, 2020

Comments

  • Admin
    Admin almost 4 years

    I am trying to convert vmdk file to ova uisng ovftool

    This is the command I type.

     C:\Program Files\VMware\VMware OVF Tool>ovftool -st=vmdk "C:\Windows Server 2016\win2trg1-1.vmdk" -tt=ova "C:\Windows Server 2016\win2trg1-1.ova"
    

    However it did not work. The error is found below.

    Error: Failed to parse option '-st=vmdk'. Reason: Source type not known: vmdk
    Completed with errors
    

    I am using windows 8 cmd and I did get help from this link. convert VMX to OVF using OVFtool. It did not work

    Any solutions?