You can export an image profile to an ISO image or a ZIP file by using the vSphere Client.
Prerequisites
- Verify that the vSphere ESXi Image Builder service is enabled and running. See Configure the vSphere ESXi Image Builder.
- Add or import a software depot to the vSphere ESXi Image Builder inventory. See Add a Software Depot and Import a Software Depot.
Procedure
What to do next
- You can associate an image profile with a new vSphere Auto Deploy rule to provision ESXi hosts. See Create a Deploy Rule or Clone a Deploy Rule.
- You can associate an image profile with an ESXi host. See Add a Host to the vSphere Auto Deploy Inventory.
- Edit the Image Profile Association of a Host.
Export an Image Profile to an ISO or Offline Bundle ZIP with PowerCLI Cmdlets
You can export an image profile to an ISO image or a ZIP file of component files and folders. You cannot create both by running the cmdlet once. You can use the ISO image as an ESXi installer or upload the ISO into vSphere Lifecycle Manager for upgrades.
Prerequisites
Install the PowerCLI and all prerequisite software. See Configure vSphere ESXi Image Builder.
Procedure
Results
For the ISO image, vSphere ESXi Image Builder validates VIB signatures, adds VIB binaries to the image, and downloads the image to the specified location. For the ZIP file, vSphere ESXi Image Builder validates VIB signatures and downloads the VIB binaries to the specified location.
Example: Exporting an Image Profile
Follow these steps to export an image profile to an ISO image.
- Add the software depot.
Add-EsxSoftwareDepot -DepotUrl url_or_file
- View all available image profiles to find the name of the image profile to export.
Get-EsxImageProfile
- Export the image profile.
Export-EsxImageProfile -ImageProfile "myprofile" -ExportToIso -FilePath iso_name
Follow these steps to export an image profile to a ZIP file of component files and folders.
- Add the software depot.
Add-EsxSoftwareDepot -DepotUrl url_or_file
- View all available image profiles to find the name of the image profile to export.
Get-EsxImageProfile
- Export the image profile.
Export-EsxImageProfile -ImageProfile "myprofile" -ExportToBundle -FilePath C:\my_bundle.zip
What to do next
Use the ISO image in an ESXi installation or upload the ISO image into vSphere Lifecycle Manager to perform upgrades.
Use the ZIP file to upgrade an ESXi installation.
- Import the ZIP file into vSphere Lifecycle Manager for use with patch baselines.
- Download the ZIP file to an ESXi host or a datastore and run esxcli software vib commands to import the VIBs in the ZIP file.
See the vSphere Upgrade documentation.