convert VMX to OVF using OVFtool

2019-04-28 08:49发布

I am trying to convert VMX to OVF format using OVFTool as below, however it gives error:

C:\Program Files\VMware\VMware OVF Tool>ovftool.exe
vi://vcenter.com:port/folder/myfolder/abc.vmx abc.ovf
Error: Failed to open file: https://vcenter.com:port/folder/myfolder/abc.vmx
Completed with errors

Please let me know if you have any solution.

8条回答
【Aperson】
2楼-- · 2019-04-28 09:28

Try to run as described below.

C:\Program Files\VMware\VMware OVF Tool>ovftool C:\Win-Test\Win-Test.vmx(location of your vmx file) C:\Win-Test\win-test.ovf (destination)

查看更多
来,给爷笑一个
3楼-- · 2019-04-28 09:33

In my case, was needed repair the disk 'abc.vmdk' before convert the 'abc.vmx' to 'abc.ovf'.

Use this for Linux:

$ /usr/bin/vmware-vdiskmanager -R /home/user/VMware/abc.vmdk

Look this link https://kb.vmware.com/s/article/2019259 for resolved issue in Windows and Linux

查看更多
登录 后发表回答