VMware vSphere ESXI 6.7 U3封装RTL8125B网卡驱动

之前的教程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.vib(Github下载
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
│
└─vib
        Realtek_bootbank_net-r8125_9.007.01-1.vib

4、执行命令封装驱动

# 先 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/?LinkID=135170
中的 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 $true

VMware's 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 personally
 identify 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.16997984

Adding 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是老版本,不影响操作

VMware vCenter Server 6.7 U3 VMware vCenter Server Appliance File size: 3.93 GB File type: iso Name: VMware-VCSA-all-6.7.0-14367737.iso Release Date: 2019-08-20 Build Number: 14367737 vCenter Server Appliance ISO. It includes the UI and CLI installer for install/upgrade/migration for VMware vCenter Server Appliance, VMware Platform Services Controller, VMware vSphere Update Manager and Update Manager Download Service (UMDS). MD5SUM: dff12f195347a61a45d3aee3278ebfca SHA1SUM: 6989f3e17278545d77251c46152c4e08e1c32db4 SHA256SUM: d0bc2c26d6313a92323ac5f8cab8838324613e6762e3a749646bac6496d4d838 VMware vCenter Server Appliance Update Bundle File size: 2.01 GB File type: zip Name: VMware-vCenter-Server-Appliance-6.7.0.40000-14367737-updaterepo.zip Release Date: 2019-08-20 Build Number: 14367737 Use this package to update from any released VMware vCenter Server Appliance 6.7 to VMware vCenter Server 6.7U3 Appliance MD5SUM: ecda33c94a71a86ab24147eb4c17eb89 SHA1SUM: 2c0759b4189f1cd4214834cdb96ec5984f059200 SHA256SUM: f1c9b4197c06fa50122d860dc51463319ae5037b9eb4ccd6c2b882d44e8fe473 VMware vCenter Server for Windows File size: 2.07 GB File type: iso Name: VMware-VIM-all-6.7.0-14367737.iso Release Date: 2019-08-20 Build Number: 14367737 Installer for VMware vCenter Server, VMware Platform Services Controller, VMware vSphere Update Manager, Update Manager Download Service (UMDS) and other vCenter Server-related modules. It enables installation of vCenter Server on Windows (Requires a 64-bit capable server). MD5SUM: 066f87b31cbfeaaf7c5777c4f3db1c01 SHA1SUM: 6aa6f192570afc89dd48e365848cbf87a87572b0 SHA256SUM: 74d758be32804856eefca00573547f001e153f2850fa815c2c2a79891432ec24 VMware vSphere Hypervisor (ESXi ISO) image (Includes VMware Tools) File size: 314.66 MB File type: iso Name: VMware-VMvisor-Installer-6.7.0.update03-14320388.x86_64.iso Release Date: 2019-08-20 Build Number: 14320388 Boot your server with this image in order to install or upgrade to ESXi (ESXi requires 64-bit capable servers). This ESXi image includes VMware Tools. MD5SUM: cafb95ae04245eb3e93fed1602b0fd3b SHA1SUM: 415f08313062d1f8d46162dc81a009dbdbc59b3b SHA256SUM: fcbaa4cd952abd9e629fb131b8f46a949844405d8976372e7e5b55917623fbe0 VMware vSphere Hypervisor (ESXi) Offline Bundle File size: 433.54 MB File type: zip Name: update-from-esxi6.7-6.7_update03.zip Release Date: 2019-08-20 Build Number: 14320388 Including VMware Tools. Use the image profiles and the VIB packages with VMware Image BuContains VIB packages MD5SUM: b3a89ab239caf1e10bac7d60277ad995 SHA1SUM: 590aabc3358c45ca7ee3702d50995ce86ac43bf8 SHA256SUM: 5a08550644574ef69f63cbedcaddc3d571eb324f31c1616526ae41ce310ec7c7
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值