VMware VS4-ENT-PL-A Setup Guide - Page 237
Export an Image Profile to ISO or Offline Bundle ZIP
View all VMware VS4-ENT-PL-A manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 237 highlights
Chapter 7 Installing ESXi 3 Clone the profile. New-EsxImageProfile -CloneProfile My_Profile -Name "Test Profile 42" -Vendor "My Vendor" Image profiles published by VMware and its partners are read only. To make changes, you clone the image profile. The vendor parameter is required. 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. 5 (Optional) Change the acceptance level of the image profile if an error about acceptance level problems displays. VIB acceptance levels are set during VIB creation and cannot be changed. The image profile includes the new VIB. Export an Image Profile to ISO or Offline Bundle ZIP 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 Update Manager for upgrades. You can use the ZIP file, which contains metadata and the VIBs specified in the image profile, for upgrades to ESXi 5.0 and later. Administrators performing this task must have some experience with PowerCLI or Microsoft PowerShell. Prerequisites n Install the VMware PowerCLI and all prerequisite software. See "Install Image Builder PowerCLI and Prerequisite Software," on page 233. n If you encounter problems running PowerCLI cmdlets, consider changing the execution policy. See "Using Image Builder Cmdlets," on page 234. Procedure 1 Run Add-EsxSoftwareDepot to connect to the depot that contains the image profile to export. Depot Type Remote depot ZIP file Cmdlet Run Add-EsxSoftwareDepot -DepotUrl depot_url. a Download the ZIP file to a local file path. b Run Add-EsxSoftwareDepot -DepotUrl C:\file_path\offlinebundle.zip The cmdlet returns one or more SoftwareDepot objects. 2 Run Export-EsxImageProfile to export the image profile. To build... ISO images Offline depot ZIP files Run... Export-EsxImageProfile with the -ExportToIso parameter. Export-EsxImageProfile with the -ExportToBundle parameter. VMware, Inc. 237