Add a CIM Provider VIB to your ESXi Image

You can add a CIM Provider VIB to your ESXi image using the vSphere ESXi Image Builder CLI. Install VIBs from only one OEM vendor at a time.

Before you begin, install the VMware PowerCLI software.

Use the following steps to add a new VIB to your image:

Procedure

  1. Run Add-EsxSoftwareDepot for each depot you want to work with.

    Run Add-EsxSoftwareDepot -DepotUrl depot_url

    or

    Run Add-EsxSoftwareDepot -DepotUrl C:\file_path\offline-bundle.zip

    The cmdlet returns one or more SoftwareDepot objects.

  2. Run Get-EsxImageProfile to list all image profiles in all currently visible depots.

    Get-EsxImageProfile

    The cmdlet returns all available profiles. You can narrow your search by using the optional arguments to filter the output.

  3. Clone the profile and make changes to the clone if the image profile is read only.

    New-EsxImageProfile -CloneProfile My_Profile -Name "Test Profile Name"

    Image profiles published by VMware and its partners are read only.

  4. Run Add-EsxSoftwarePackage to add a new package to one of the image profile.

    Add-EsxSoftwarePackage -ImageProfile My_Profile -SoftwarePackage partner-package

    The cmdlet runs the standard validation tests on the image profile. If validation succeeds, the cmdlet returns a modified, validated image profile. If the VIB that you want to add depends on a different VIB, the cmdlet displays that information and includes the VIB that would resolve the dependency. If the acceptance level of the VIB that you want to add is lower than the image profile acceptance level, an error results. Change the acceptance level of the image profile to add the VIB.

    Your image profile now includes the new VIB.

    See the vSphere Installation and Setup guide for more information about how to add a VIB to an image profile.