VMware VS4-ENT-PL-A Setup Guide - Page 238
Preserve Image Profiles Across Sessions, Example: Exporting an Image Profile to ISO or Offline Bundle
View all VMware VS4-ENT-PL-A manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 238 highlights
vSphere Installation and Setup For the ISO image, Image Builder validates VIB signatures, adds VIB binaries to the image, and downloads the image to the specified location. For the ZIP file, Image Builder validates VIB signatures and downloads the VIB binaries to the specified location. Example: Exporting an Image Profile to ISO or Offline Bundle Export an image profile to ISO from the PowerCLI prompt. 1 Add the software depot. Add-EsxSoftwareDepot -DepotUrl url_or_file 2 Display all available image profiles to find the name of the image profile to export. Get-EsxImageProfile 3 Export the image profile. Export-EsxImageProfile -ImageProfile "myprofile" -ExportToIso -FilePath iso_name Export an image profile to an offline bundle ZIP from the PowerCLI prompt. 1 Add the software depot. Add-EsxSoftwareDepot -DepotUrl url_or_file 2 Display all available image profiles to find the name of the image profile to export. Get-EsxImageProfile 3 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 Update Manager to perform upgrades. Use the ZIP file to upgrade an ESXi installation. n Import the ZIP file into vSphere Update Manager for use with patch baselines. n 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. Preserve Image Profiles Across Sessions When you create an image profile and exit the PowerCLI session, the image profile is no longer available when you start a new session. You can export the image profile to a ZIP file software depot, and add that depot in the next session. 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 In a PowerCLI session, create an image profile, for example by cloning an existing image profile and adding a VIB. 238 VMware, Inc.