赞
踩
virtualbox导出的ova文件转换为ovf文件导入到vmware esxi虚拟机
1、下载安装程序
链接:https://pan.baidu.com/s/1pRP8MQswDSDecMB5eJGNYA?pwd=mv2q
提取码:mv2q
双击VMware-ovftool-3.0.1-801290-win.x86_64.msi默认安装
2、在cmd中进入到Vware OVF Tool目录(我的安装目录C:\Program Files\VMware\VMware OVF Tool)
3、输入命令
ovftool.exe --lax "C:\Users\fch\Documents\video.ova" "C:\Users\fch\Documents\video.ovf"
执行后得到
video.mf
video.ovf
video-disk1.vmdk
4、修改video.ovf文件,将
将
<vssd:VirtualSystemType>virtualbox-2.2</vssd:VirtualSystemType>
修改为
<vssd:VirtualSystemType>vmx-07</vssd:VirtualSystemType>
再将
<Item>
<rasd:Address>0</rasd:Address>
<rasd:Caption>sataController0</rasd:Caption>
<rasd:Description>SATA Controller</rasd:Description>
<rasd:ElementName>sataController0</rasd:ElementName>
<rasd:InstanceID>5</rasd:InstanceID>
<rasd:ResourceSubType>AHCI</rasd:ResourceSubType>
<rasd:ResourceType>20</rasd:ResourceType>
</Item>
修改为
<Item>
<rasd:Address>0</rasd:Address>
<rasd:Caption>SCSIController</rasd:Caption>
<rasd:Description>SCSI Controller</rasd:Description>
<rasd:ElementName>SCSIController</rasd:ElementName>
<rasd:InstanceID>5</rasd:InstanceID>
<rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
<rasd:ResourceType>6</rasd:ResourceType>
</Item>
最后修改声卡配置,将
<Item>
<rasd:AddressOnParent>3</rasd:AddressOnParent>
<rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
<rasd:Caption>sound</rasd:Caption>
<rasd:Description>Sound Card</rasd:Description>
<rasd:ElementName>sound</rasd:ElementName>
<rasd:InstanceID>8</rasd:InstanceID>
<rasd:ResourceSubType>ensoniq1371</rasd:ResourceSubType>
<rasd:ResourceType>35</rasd:ResourceType>
</Item>
修改为
<Item ovf:required="false">
<rasd:AddressOnParent>3</rasd:AddressOnParent>
<rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
<rasd:Caption>sound</rasd:Caption>
<rasd:Description>Sound Card</rasd:Description>
<rasd:ElementName>sound</rasd:ElementName>
<rasd:InstanceID>8</rasd:InstanceID>
<rasd:ResourceSubType>ensoniq1371</rasd:ResourceSubType>
<rasd:ResourceType>35</rasd:ResourceType>
</Item>
5、修改video.mf,输入命令
certutil.exe -hashfile C:\Users\fch\Documents\video.ovf SHA1
将SHA1(video.ovf)= 后面的值替换为上面命令获取的值
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。