Creating an Image Profile by cloning an existing one
All the predefined Image Profiles available from an Offline Bundle are read-only. To customize such Image Profiles, you will need to clone them to form new Image Profiles. In this recipe we will learn how to create a new Image Profile by cloning an existing one.
How to do it…
The following procedure will guide you through the steps required to clone a predefined ESXi Image Profile available from an ESXi Offline Bundle.
It is a four step process:
Verifying the existence of a Software Depot in the current session.
Adding a Software Depot.
Listing available Image Profiles.
Cloning an Image Profile to form a new one.
Verifying the existence of a Software Depot in the current session
To verify whether there are any existing Software Depots defined in the current PowerCLI session, issue the following command:
$DefaultSoftwareDepots
Note that the command has not returned any values. Meaning, there are no Software Depots defined in the current session...