How to Customize ESXI 6.7 install with Realtek Drivers

Create a folder C:\Esxibuild

Download to C:\Esxibuild
VMware vSphere Hypervisor (ESXi) 6.7U3b Bundle (not the ISO).
https://my.vmware.com/web/vmware/details?downloadGroup=ESXI67U3B&productId=742

Download the Realtek Drivers:
https://vibsdepot.v-front.de/wiki/index.php/List_of_currently_available_ESXi_packages
(For this one, I used the net55-r8168-8.045a-napi-offline_bundle)

Here is what the files look like:

Download and install the VMware PowerCLI
https://my.vmware.com/group/vmware/details?productId=614&downloadGroup=PCLI650R1

Open powershell. Got to the folder C:\Esxibuild in PS.

Add the VMware Modules for Powershell:

Get-Module -ListAvailable VM* | Import-Module

Check Modules:

$env:PSModulePath.Split(‘;’)

Import Modules:

Get-Module -ListAvailable VM* | Import-Module
 
<a href="https://www.geekdecoder.com/wp-content/uploads/2020/04/ps3.jpg"><img class="alignnone size-full wp-image-5388" src="https://www.geekdecoder.com/wp-content/uploads/2020/04/ps3.jpg" alt="" width="982" height="95" /></a>

Find the build information. Open the compressed file for the Esxi bundle you downloaded: c:\esxibuild > ESXi670-201912001 > metadata > profiles. There should be 4 profiles. Copy the path for the next commands.

Change your paths to match.
run:

Add-EsxSoftwareDepot "C:\esxibuild\net55-r8168-8.045a-napi-offline_bundle.zip", "C:\esxibuild\ESXi670-201912001.zip"
 
<a href="https://www.geekdecoder.com/wp-content/uploads/2020/04/ps4.jpg"><img class="alignnone size-full wp-image-5397" src="https://www.geekdecoder.com/wp-content/uploads/2020/04/ps4.jpg" alt="" width="985" height="173" /></a>
Get-EsxImageProfile
 
<a href="https://www.geekdecoder.com/wp-content/uploads/2020/04/profiles2.jpg"><img class="alignnone size-full wp-image-5405" src="https://www.geekdecoder.com/wp-content/uploads/2020/04/profiles2.jpg" alt="" width="983" height="219" /></a>
New-EsxImageProfile -CloneProfile ESXi-6.7.0-20191204001-standard -name ESXi-6.7.0-20191204001-standard-RTL8111 -Vendor Razz
 
<a href="https://www.geekdecoder.com/wp-content/uploads/2020/04/ps6.jpg"><img class="alignnone size-full wp-image-5399" src="https://www.geekdecoder.com/wp-content/uploads/2020/04/ps6.jpg" alt="" width="982" height="163" /></a>
Set-EsxImageProfile -ImageProfile ESXi-6.7.0-20191204001-standard-RTL8111 -AcceptanceLevel CommunitySupported
 
<a href="https://www.geekdecoder.com/wp-content/uploads/2020/04/ps7.jpg"><img class="alignnone size-full wp-image-5401" src="https://www.geekdecoder.com/wp-content/uploads/2020/04/ps7.jpg" alt="" width="985" height="131" /></a>
Get-EsxSoftwarePackage | Where {$_.Vendor -eq "Realtek"}

Add-EsxSoftwarePackage -ImageProfile ESXi-6.7.0-20191204001-standard-RTL8111 -SoftwarePackage net55-r8168

Export-EsxImageProfile -ImageProfile ESXi-6.7.0-20191204001-standard-RTL8111 -ExportToIso -filepath C:\esxibuild\VMware-ESXi-6.7.0-8169922-RTL8111.iso
<a href="https://www.geekdecoder.com/wp-content/uploads/2020/04/iso.jpg"><img class="alignnone size-full wp-image-5411" src="https://www.geekdecoder.com/wp-content/uploads/2020/04/iso.jpg" alt="" width="983" height="109" /></a>

Now, there should be an ISO to burn.

Other sources: https://www.sysadminstories.com/2018/08/adding-realtek-8111-driver-to-vsphere.html

1 thought on “How to Customize ESXI 6.7 install with Realtek Drivers

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.