Freitag, 17. Februar 2023

ESXi VMWARE Custom Boot Image

 In case you struggle with a missing RAID driver....

1.) Install Windows PowerShell 4.8

2.) Install Python 3.7 from https://www.python.org/downloads/release/python-370/.

Download the script get-pip.py  from https://bootstrap.pypa.io/get-pip.py.

Install it with python.exe get-pip.py

Install the required Python modules \Scripts\pip3.7.exe install six psutil lxml pyopenssl

In PowerShell: Set-PowerCLIConfiguration -PythonPath <python3.7-directory>\python.exe -Scope User

In PowerShell: Set-ExecutionPolicy RemoteSigned

Create your own working directory: i.e. VMISO

Cd C:\VMISO

Add your Software

Add-EsxSoftwareDepot .\VMware-ESXi-xxx-depot.zip

Add your Driver

Add-EsxSoftwareDepot .\aacraid-xxxxbundle-1475991.zip

Check your work:

$DefaultSoftwareDepots

Get-EsxImageProfile

Create your new image:

New-EsxImageProfile -CloneProfile ESXixxx-standard

Name your new own bundle

Set-EsxImageProfile -ImageProfile "yourBundle" -AcceptanceLevel VMwareCertified

Check, if your driver is included:

Get-EsxSoftwarePackage

Export-EsxImageProfile -ImageProfile "yourBundle" -FilePath C:\VMISO\VMISO.iso -NoSignatureCheck -ExportToISO


Burn it to CD...

Have Fun...