奉贤做网站建设,威海建设局官方网站,建设网站行业云,自适应h5网站之前的教程VMware vSphere ESXI 6.7 U3最新版本封装网卡驱动补丁可参考#xff0c;本文为此文章的又一次实践
准备工作
1、ESXi-Customizer-PS-v2.6.0.ps1 #xff08;官网下载#xff0c;Github下载#xff09; 2、ESXi670-202210001.zip #xff08;VMware vSphere Hy…之前的教程VMware vSphere ESXI 6.7 U3最新版本封装网卡驱动补丁可参考本文为此文章的又一次实践
准备工作
1、ESXi-Customizer-PS-v2.6.0.ps1 官网下载Github下载 2、ESXi670-202210001.zip VMware vSphere Hypervisor (ESXi) Offline Bundle官网的离线版本官网下载 3、Realtek_bootbank_net-r8125_9.007.01-1.vibGithub下载 4、Win10 系统PowerShell 可以正常使用
操作步骤
1、以管理员身份运行 Windows PowerShell然后执行命令 Install-Module -Name VMware.PowerCLI这个命令可能需要比较长时间请耐心等待。中间出现确认提示的时候输入 A 即可或者Y。
2、第1步执行结束且未出现错误后执行命令Set-ExecutionPolicy Unrestricted修改 PowerShell 默认的执行策略确认提示时输入 A 或者 Y 后回车确认否则 ESXi-Customizer-PS-v2.6.0.ps1 可能无法运行。
3、参照下面目录树放置文件esxi是根目录vib是驱动目录
esxi
│ ESXi-Customizer-PS-v2.6.0.ps1
│ ESXi670-202210001.zip
│
└─vibRealtek_bootbank_net-r8125_9.007.01-1.vib4、执行命令封装驱动
# 先 cd 进入根目录然后执行命令生成 iso 文件
PS C:\Windows\system32 cd C:\Users\hongwei\Desktop\esxi
PS C:\Users\hongwei\Desktop\esxi .\ESXi-Customizer-PS-v2.6.0.ps1 .\ESXi670-202210001.zip -pkgDir .\vib\下面是完整版的例子
PS C:\Windows\system32 cd C:\Users\hongwei\Desktop\esxi
PS C:\Users\hongwei\Desktop\esxi Install-Module -Name VMware.PowerCLI不受信任的存储库
你正在从不受信任的存储库安装模块。如果你信任该存储库请通过运行 Set-PSRepository cmdlet 更改其 InstallationPolicy
值。是否确实要从“PSGallery”安装模块?
[Y] 是(Y) [A] 全是(A) [N] 否(N) [L] 全否(L) [S] 暂停(S) [?] 帮助 (默认值为“N”): Y
警告: 已在“C:\Program
Files\WindowsPowerShell\Modules\VMware.PowerCLI\12.1.0.17009493”上安装“12.1.0.17009493”版本的模块“VMware.PowerCLI”
。若要安装版本“13.1.0.21624340”请运行 Install-Module 并添加 -Force
参数。此命令将同时安装版本“12.1.0.17009493”和版本“13.1.0.21624340”。
PS C:\Users\hongwei\Desktop\esxi Set-ExecutionPolicy Unrestricted执行策略更改
执行策略可帮助你防止执行不信任的脚本。更改执行策略可能会产生安全风险如 https:/go.microsoft.com/fwlink/?LinkID135170
中的 about_Execution_Policies 帮助主题所述。是否要更改执行策略?
[Y] 是(Y) [A] 全是(A) [N] 否(N) [L] 全否(L) [S] 暂停(S) [?] 帮助 (默认值为“N”): Y
PS C:\Users\hongwei\Desktop\esxi .\ESXi-Customizer-PS-v2.6.0.ps1 .\ESXi670-202210001.zip -pkgDir .\vib\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\hongwei\AppData\Local\Temp\ESXi-Customizer-PS-24088.log ...
警告: Please consider joining the VMware Customer Experience Improvement Program, so you can help us make PowerCLI a
better product. You can join using the following command:Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $trueVMwares Customer Experience Improvement Program (CEIP) provides VMware with information that enables VMware to
improve its products and services, to fix problems, and to advise you on how best to deploy and use our products. As
part of the CEIP, VMware collects technical information about your organization抯 use of VMware products and services
on a regular basis in association with your organization抯 VMware license key(s). This information does not personallyidentify any individual.For more details: type help about_ceip to see the related help article.To disable this warning and set your preference use the following command and restart PowerShell:
Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $true or $false.Running with PowerShell version 5.1 and VMware PowerCLI version 12.1.0.16997984Adding base Offline bundle .\ESXi670-202210001.zip ... [OK]Getting Imageprofiles, please wait ... [OK]Using Imageprofile ESXi-6.7.0-20221004001-standard ...
(dated 09/21/2022 13:36:44, AcceptanceLevel: PartnerSupported,
Updates ESXi 6.7 Image Profile-ESXi-6.7.0-20221004001-standard)Loading Offline bundles and VIB files from .\vib\ ...Loading C:\Users\hongwei\Desktop\esxi\vib\Realtek_bootbank_net-r8125_9.007.01-1.vib ... [OK]Add VIB net-r8125 9.007.01-1 [New AcceptanceLevel: CommunitySupported] [OK, added]Exporting the Imageprofile to C:\Users\hongwei\Desktop\esxi\ESXi-6.7.0-20221004001-standard-customized.iso. Please be patient ...All done.
5、如果一切正常结尾是 All done 表示成功会成功在配置的目录中生成一个文件 ESXi-6.7.0-20221004001-standard-customized.iso
问题
1、如果需要python环境请参考这里安装python和指定包 2、示例中使用的是VMware.PowerCLI是老版本不影响操作