Skip to content

VMware ESXi ISO build scripts to integrate common NIC, NVME, USB NIC or Zimaboard drivers for ESXi installation on consumer hardware

License

Notifications You must be signed in to change notification settings

itiligent/ESXi-Custom-ISO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

☁️ Custom VMware ESXi ISO build scripts

Inject consumer NIC, NVME & USB NIC drivers into ESXi ISO images.

  • Builds an ESXi 8.x iso with latest USB NIC Fling drivers.
  • Builds an ESXi 7.x iso with latest NVME, NIC & USB NIC Fling drivers + latest GhettoVCB backup.

esxi6.7.ps1 (Zimaboard compatible)

  • Builds an ESXi 6.7 iso with latest NVME & USB NIC drivers, Zimaboard Realtek 1GbE NIC driver + latest GhettoVCB backup.

🛠️ Instructions:

  • The below is tested on Powershell 5.1 (the default for Windows 10 & 11). For those who have manually upgraded to a later Powershell version, you may need to use the latest PowerCLI version from here: https://developer.broadcom.com/tools/vmware-powercli/latest. Don't install a bleeding edge Python version - tested with Python 3.12.9)
First enable Powershell scripts to run:
	Set-ExecutionPolicy Unrestricted -Scope CurrentUser # and select All

To restore default policy:
	Set-ExecutionPolicy RemoteSigned -Scope CurrentUser

For ESXi 7.x and 8.x:

1. Install-Module VMware.PowerCLI -Scope CurrentUser # Select Y to install from untrusted repo

2. Download and install Python and check "Add Python to PATH" a the start of install 

3. At end of Python install, select "Disable path length limit"

4. Upgrade Python PIP:
	C:\Users\%username%\AppData\Local\Programs\Python\Python<MAJOR_VERSION>\python.exe -m pip install --upgrade pip

5. Add Python dependencies for PowerCLI
	C:\Users\%username%\AppData\Local\Programs\Python\PythonPython<MAJOR_VERSION>\Scripts\pipPython<MAJOR_VERSION>.exe install six psutil lxml pyopenssl

6. Adjust the PowerCLI python.exe path and Customer Improvement Program settings
	Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $false
	Set-PowerCLIConfiguration -PythonPath C:\Users\$env:USERNAME\AppData\Local\Programs\Python\Python<MAJOR_VERSION>\python.exe

7. Update `$manualUpdate` and `$manualUpdateUrl` script settings to point to your ESXi source

8. Run esxi7.ps1 or esxi8.ps1 to build your ISO

For ESXi 6.7

1. Start with a FRESH Windows system (Powercli's uninstaller does not remove everything)

2. ESXi 6.7 ISOs require an older version of Powercli.  You must OFFLINE INSTALL PowerCli:
https://developer.broadcom.com/tools/vmware-powercli/12.7.0

3. Extract contents of PowerCLI zip to %ProgramFiles%\WindowsPowerShell\Modules 

4. Run: Get-ChildItem -Path $env:PROGRAMFILES\WindowsPowerShell\Modules\ -Recurse | Unblock-File

5. Update `$manualUpdate` and `$manualUpdateUrl` script settings to point to your ESXi source

6. Run the esxi6.7.ps1 script to build the 6.7 ISO.
  • ESXi6.7 Zimaboard/Zimablade users note:
    • Zimaboard's optional RTL 8125 2.5GbE NIC driver for ESXi 6.7 can be found here
      • To manually install 2.5GbE driver:esxcli software vib install -v net-r8125-9.011.00-10.vib
      • To manually remove 2.5GbE driver: esxcli software vib remove -n net-r8125
      • Full duplex on the ESXi NIC & physical switch may give better performance, your milage may vary

Screenshot

About

VMware ESXi ISO build scripts to integrate common NIC, NVME, USB NIC or Zimaboard drivers for ESXi installation on consumer hardware

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published