有些时候安装了exsi但是没有vcenter客户端,从ovf模版里面创建虚拟机就很麻烦(因为vcenter太大了,如果从网页上传ovf又太慢了),这里介绍一个简单的办法
首先去官网下载最新的ovftool,保存为是bundle,bundle是linux下的安装文件,相当于widows的msi和macos的dmg
https://code.vmware.com/web/tool/4.4.0/ovf
1 | chmod +x /export/isos/VMware/6.0/VMware-ovftool-4.1.0-2459827-lin.x86_64.bundle |
把tar上传到开启ssh的exsi里面
1 | tar -xzvf /vmfs/volumes/datastore1/vmware-ovftool.tar.gz -C /vmfs/volumes/datastore1/#解压 |
参考:
https://www.virtuallyghetto.com/2012/05/how-to-deploy-ovfova-in-esxi-shell.html
https://code.vmware.com/web/tool/4.4.0/ovf
https://github.com/richardatlateralblast/ottar
说些什么吧!