VMware Cloud Community
rlaplante
Contributor
Contributor

ImageBuilder to apply 5.5 U3_Patch10

I currently have a working auto deploy solution and custom image based on Cisco UCS platform drivers etc. I need to apply the vib updates from Patch 10.

Using ImageBuilder to update a custom profile.

I know using i.e. add-EsxSoftwarePackage -ImageProfile ESXi55U3_P10_ver4 -SoftwarePackage ????? allows me to add specific vibs i.e. new Cisco drivers etc.

How do I update the custom image with all of the ESXi base and other updated vibs and dependencies at once. Can I?  Can i simply state the added software depot zip?

That one step seems to be missing from many of the communities I have searched.

Reply
0 Kudos
2 Replies
TheBobkin
Champion
Champion

Hello,

Are you looking to do something like this?:

https://www.vmguru.com/2015/04/how-to-build-a-custom-image-with-vsphere-esxi-image-builder-cli/

Bob

-o- If you found this comment useful or answer please select as 'Answer' and/or click the 'Helpful' button, please ask follow-up questions if you have any -o-

Reply
0 Kudos
rlaplante
Contributor
Contributor

I have already completed this type of update for a couple of individual vib files.  I.E. I added the Cisco drivers for scsi-fnic; net-enic, epsec-mux for vshield and other individual vibs.  I need to add(update) all of the vibs in the current custom image with the vibs from Patch10.  That link got my hopes up when I saw it adding a  zip file from the depot.  Alas variations of the command syntax for me are not working. 

PowerCLI C:\> Get-EsxSoftwareDepot

Depot Url

---------

zip:E:\ESXi55U3b\ESXi55U3_ver3.zip?index.xml

zip:E:\ESXi55U3b\ESXi550-201612001.zip?index.xml

file://custom/depot/index.xml

PowerCLI C:\> Add-EsxSoftwarePackage -ImageProfile ESXi55U3_P10_ver4 -SoftwarePackage E:\ESXi55U3b\ESXi550-201612001.zip

As I was typing I had another thought, ran the following CLI. 

PowerCLI C:\> Get-EsxImageProfile

Name                           Vendor          Last Modified   Acceptance Level

----                           ------          -------------   ----------------

ESXi-5.5.0-20161204001-no-t... VMware, Inc.    12/9/2016 12... PartnerSupported

ESXi-5.5.0-20161204001-stan... VMware, Inc.    12/9/2016 12... PartnerSupported

ESXi55U3_ver3                  Cisco           10/27/2016 7... PartnerSupported

ESXi55U3_P10_ver4              Cisco           10/27/2016 7... PartnerSupported

ESXi-5.5.0-20161201001s-sta... VMware, Inc.    12/9/2016 12... PartnerSupported

ESXi-5.5.0-20161201001s-no-... VMware, Inc.    12/9/2016 12... PartnerSupported

I then tried various combinations of the followin.

PowerCLI C:\> Add-EsxSoftwarePackage -ImageProfile ESXi55U3_P10_ver4 -SoftwarePackage .\ESXi-5.5.0-20161204001-standard

Still no love!

Reply
0 Kudos