Create Custom Softwareimage and Category
New software images and categories can now be created.
Although they can be built from scratch using the add command, cloning the previously created defaults ensures that all previously applied settings (such as kernelparameters and disksetup) are copied across automatically. This reduces the amount of customization required after creation.
In this example, the software image is a simple clone of the default-image with no modifications, while the category is cloned from the default but configured to use the newly cloned software image.
Managing packages in a software image is beyond the scope of this guide. For more information about managing packages in a software image, please refer to the BCM Administrator Manual.
-
Create the custom-image softwareimage.
a. Enter cmsh.
b. Enter the softwareimage mode.
c. List the current software images.

Figure 86 Terminal output after entering cmsh and listing software images d. Clone the default image, naming the new image to custom-image.
e. Commit the changes to start the cloning process and wait for it to complete.

Figure 87 Terminal output after committing the custom-image clone f. Exit to return to the softwareimage mode and list the softwareimages to confirm creation.

Figure 88 List of software images confirming custom-image creation -
Backup the default category and set the softwareimage.
a. Enter the category mode.
b. List the current categories.

Figure 89 List of current categories c. Clone the default category, naming the new category custom.
d. Set the softwareimage to point to the custom-image created in the previous steps.
e. Commit the changes.
f. Exit to return to the category mode and list the categories to confirm creation.

Figure 90 List of categories confirming custom category creation