
上QQ阅读APP看书,第一时间看更新
There's more....
You can also use ESXi Image Builder CLI to clone an image profile. Unlike the GUI method, you are not required to create a custom depot for this activity. In this case, the VMware PowerCLI session becomes the work desk for this activity:
- Launch a VMware PowerCLI session.
- Use the Add-SoftwareDepot command to import an offline bundle. The command requires you to provide the path to an offline depot or the URL of the online repository.
- Define an array variable to hold the output of the command Get-EsxImageProfile.
- List the contents of the array variable to verify it has the desired content.
- Use the New-EsxImageProfile command to create a new image profile by cloning the desired image profile. Use the array[n] representation to address the correct image profile.
- Run the Get-EsxImageProfile command to list all the image profiles. You should see the newly created image profiles:
