I am having a problem injecting the new Broadcom NetXtreme II vib (BCM-NetXtremeII-5.0-offline_bundle-940344.zip) into a custom ISO using VMware's Image Builder. I am hoping that someone here may be able to help me figure out why the driver injection fails. During the actual injection, I get the following error within PowerCLI.
I am using Andreas Peetz (ESXi-Customizer@v-front.de) script to build the custom ISO, but I get the same error when I manually run the commands individually (Add-EsxSoftwarePackage -SoftwarePackage "C:\repository\BCM-NetXtremeII-5.0-offline_bundle-940344.zip" -ImageProfile $MyProfile).
Apparently, the VIB has a dependency (com.broadcom.cnic-9.2.1.0) that doesn't seem to exist. When I checked out the XML file for the Broadcom vib, and for VMware's Base Image, they both have the same dependency.
The base image (ESXi-5.1.0-20121204001-standard) will not install Broadcom Drivers for the built-in BCM57800 CNA in a Dell PowerEdge R620, and the custom image won't take the Broadcom Drivers VIB due to the dependency issue.
Has anyone else seen this? If so, how did you fix it?
I've attached a copy of the script I use.
Please use the latest version of the ESXi-Customizer-PS script from http://esxi-customizer.googlecode.com.
It uses -force to ignore forward looking dependencies and should fix your issue.
- Andreas
Have you tried -Force parameter to Add-EsxSoftwarePackage ?
Please use the latest version of the ESXi-Customizer-PS script from http://esxi-customizer.googlecode.com.
It uses -force to ignore forward looking dependencies and should fix your issue.
- Andreas
The "-force" switch worked without a hitch. I appreciate your help.
If you put all the VIB-Names into one command separated with comma, then it's working fine without the -force switch.
Add-EsxSoftwarePackage -ImageProfile <Profile> -SoftwarePackage misc-cnic-register,net-cnic,net-bnx2x,scsi-bnx2i,net-bnx2
For me it worked this way. If I try to import one by one, then I receive the same dependency error.
Yes, you are right, if one adds the drivers in just one line, it works just fine... Thanks a lot!
-force worked for me also.
Thanks!