Home > ESXi, VMware, vSphere > HOWTO: ESXi Image Builder v5.1

HOWTO: ESXi Image Builder v5.1

In my studies for my VCAP5-DCA, I finally found a use case for using the ESXi Image Builder.  Previously I hadn’t had much of one, as I tend to do all my VIB Host Extension installation via the VMware Update Manager after I’m done reinstalling my software.  Then I got to thinking…. sure looks like this would be my use case for Image Builder.


1) Get your ESXi installation ZIP and VIB’s from your vendors into a folder – I used C:\BIN, and I have Dell OMSA and NetApp NFS VAAI VIB’s to add.


2) Add the ZIP’s to your Software Depot:

PowerCLI C:\bin> add-esxsoftwaredepot ‘c:\bin\update-from-esxi5.1-5.1_update01.zip’

Depot Url

PowerCLI C:\bin> add-esxsoftwaredepot ‘C:\bin\NetAppNasPlugin.v18.zip’

Depot Url

PowerCLI C:\bin> add-esxsoftwaredepot ‘C:\bin\OM-SrvAdmin-Dell-Web-7.3.0-333_A00.VIB-ESX51i.zip’

Depot Url


3) Next we need to create an image profile.  The easiest way is to clone one of the existing ones.

PowerCLI C:\bin> Get-EsxImageProfile | format-table -autosize


PowerCLI C:\bin> New-EsxImageProfile -CloneProfile "ESXi-5.1.0-20130402001-standard" -Name "ESXi-5.1.0-NetWise-Customized"


4) Now we add the Software VIB’s

First, get the list of your VIB’s that you’ve added:

PowerCLI C:\bin> Get-EsxSoftwarePackage | where {$_.Vendor -eq "Dell"}

PowerCLI C:\bin> Get-EsxSoftwarePackage | where {$_.Vendor -eq "NetApp"}


Then actually add the packages to the image profile.

PowerCLI C:\bin> Add-EsxSoftwarePackage -ImageProfile ESXi-5.1.0-NetWise-Customized -SoftwarePackage OpenManage,NetAppNasPlugin


5) Export the custom profile to both/either an ISO for installation or ZIP for use with Update Manager or Auto Deploy. 

PowerCLI C:\bin> Export-EsxImageProfile -ImageProfile ESXi-5.1.0-NetWise-Customized -ExportToISO -filepath c:\Bin\ESXi-5.1.0-NetWise-Customized.iso
PowerCLI C:\bin> Export-EsxImageProfile -ImageProfile ESXi-5.1.0-NetWise-Customized -ExportToBundle -filepath c:\Bin\ESXi-5.1.0-NetWise-Customized.zip




Now, all fresh installations in the lab will have the appropriate additions baked in, saving some time. 

Categories: ESXi, VMware, vSphere
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: