Esxi6.7扩展不支持的驱动

280 阅读1分钟
  • 准备制作环境
# 安裝 vmware powercli ( powershell 需以管理者身分執行 ) 
 set-executionpolicy unrestricted 
 Install-Module -Name VMware.PowerCLI 
 Import-Module VMware.ImageBuilder 
 Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $true  
  • 制作iso
#设置参数
$StandardImageProfileName="ESXi-6.7.0-20201104001-standard"
#$StandardImageProfileName="ESXi-6.5.0-20201103001-standard"
$CustImageProfileName="ESXi-6.7.0-20201104001-bxh-20210204"
#$CustImageProfileName="ESXi-6.5.0-20201103001-bxh-20210204"
$CustVendorName="bxh.pw"
#下载原版esxi
Add-EsxSoftwareDepot https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
Export-ESXImageProfile -ImageProfile $StandardImageProfileName -ExportToBundle -filepath "$StandardImageProfileName.zip"
Remove-EsxSoftwareDepot https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
#如果下载有离线包,从vmware获取镜像id,输出原版esxi操作省略
Add-EsxSoftwareDepot "$StandardImageProfileName.zip"
# 支持6.5,6.7
Add-EsxSoftwareDepot .\vlibs\net55-r8168-8.045a-napi-offline_bundle.zip
Add-EsxSoftwareDepot .\vlibs\net-igb-5.3.2-99-offline_bundle.zip
Add-EsxSoftwareDepot .\vlibs\sata-xahci-1.42-1-offline_bundle.zip
#设置权限
New-EsxImageProfile -CloneProfile $StandardImageProfileName -name $CustImageProfileName -Vendor $CustVendorName
Set-EsxImageProfile -Name $CustImageProfileName -ImageProfile $CustImageProfileName -AcceptanceLevel CommunitySupported
#启用额外功能,支持6.5和6.7
#除了net55-r8168,net-igb,sata-xahci以外全部不可用,其余的需要6.5版本
Add-EsxSoftwarePackage -ImageProfile $CustImageProfileName -SoftwarePackage "net55-r8168"
Add-EsxSoftwarePackage -ImageProfile $CustImageProfileName -SoftwarePackage "net-igb"
Add-EsxSoftwarePackage -ImageProfile $CustImageProfileName -SoftwarePackage "sata-xahci"
#制作所需iso
Export-ESXImageProfile -ImageProfile $CustImageProfileName -ExportToIso -filepath "$CustImageProfileName.iso"

第三方库下载地址

vibsdepot.v-front.de/wiki/index.…