Previous Topic: Update OS Images using DSM ExplorerNext Topic: Create and Register an OS Image


Update OS Images using CLI

Use the command line if you are updating multiple OS images using a batch script.

Note: If you have deployed the same OS image on multiple boot servers, update the image and create a corresponding update SD package on the Image Prepare System first. You can then deploy the updated SD package to all the other boot servers in the domain using a software delivery job.

Follow these steps:

  1. (Optional) Verify that you have merged the custom changes, if any, to the new template files.
  2. Execute the following command:
    CreatOSImage -i <imagename> -e
    

    The command updates the existing image with the new templates.

  3. Execute the following command to update the OS image on the domain manager:
    registerOSImage -i <image name> -s <manager> -e  
    

    The command updates the image on the domain manager specified with the -s parameter.

  4. Execute the following command if you need an SD package for updating the OS image on a remote boot server:
    registerOSImage -i <image name> -s <manager> -e -l 
    

    The command creates an SD package with the updated OS image. The updated package has "-update" appended to the original package name. The updated package can be used to update the OS image on remote boot servers using an SD job with the Update Image on Boot Server procedure.

    Execute the following command to update the parameter definitions of the image:

    Important! You may lose the customized parameter definitions if they have been updated or deleted in the new template.

    registerOSImage -i <image name> -s <manager> -e -b
    

    The command updates the parameter definitions of the OS image in the MDB. The updates include changes to the default values, new, updated, or deleted parameter definitions.

The OS image is now updated in the domain manager and in the boot servers.

More information:

Make Boot and OS Images Available on Boot Servers

Updating Customized Files