环境准备
- Win10 或 Win2019
- 下载 ESXi Offline Bundle包
- 下载 ESXi-Customizer-PS
- 安装 VMware PowerCLI
- 下载第三方驱动
驱动封装
准备工作
- 将ESXi-Customizer-PS文件 和 ESXi Offline Bundle 将到C:\Temp目录下
- 将第三方驱动放到C:\Driver目录下
封装命令
- 参数 -pkgDir 表示第三方驱动的目录
PS C:\Temp> .\ESXi-Customizer-PS-v2.6.0.ps1 .\ESXi670-201912001.zip -pkgDir C:\Driver\
This is ESXi-Customizer-PS Version 2.6.0 (visit https://ESXi-Customizer-PS.v-front.de for more information!)
(Call with -help for instructions)
Logging to C:\Users\admin\AppData\Local\Temp\ESXi-Customizer-PS-10252.log ...
Running with PowerShell version 5.1 and VMware PowerCLI version 12.0.0.15939655
Adding base Offline bundle .\ESXi670-201912001.zip ... [OK]
Getting Imageprofiles, please wait ... [OK]
Using Imageprofile ESXi-6.7.0-20191204001-standard ...
(dated 11/25/2019 11:43:03, AcceptanceLevel: PartnerSupported,
Updates ESXi 6.7 Image Profile-ESXi-6.7.0-20191204001-standard)
Loading Offline bundles and VIB files from C:\Driver\ ...
Loading C:\Driver\MRVL-Atlantic-Driver-Bundle_1.0.2.0-1OEM.670.0.0.8169922-offline-bundle-16081713.zip ... [OK]
Add VIB atlantic 1.0.2.0-1OEM.670.0.0.8169922 [OK, added]
Loading C:\Driver\nvme-offline_bundle-17658145.zip ... [OK]
Add VIB nvme-community 1.0.1.0-1vmw.670.0.0.8169922 [OK, added]
Exporting the Imageprofile to 'C:\Temp\ESXi-6.7.0-20191204001-standard-customized.iso'. Please be patient ...
All done.
命令执行后会在C:\Temp目录下生成一个ISO文件
- ESXi-6.7.0-20191204001-standard-customized.iso