importosimage command

Use the importosimage command to import operating-system images for deployment to managed compute nodes.

Synopsis

smcli importosimage [-h | --help]
smcli importosimage [-k | --keep]   
smcli importosimage [-W | --wait] /path/to/image_file.iso   

Description

Before you can deploy some operating-system images, you must import the image file to the management node; this command enables you to import operating-system images. You must specify the fully-qualified ISO image file name (the full path to the location of the ISO image as well as the name of the image).

Options

-h | -?
Displays the syntax and a brief description of the command.
--help
Displays detailed information about the command, including the syntax, a description of the command, a description of the options, error codes, and examples.
Tip: If you specify additional options other than -h | -? | --help, the options are ignored.
-k | --keep
Keeps the specified operating-system image file in the original location after the import completes.
-W | --wait
Waits the specified time for output messages from the task: -1 specifies an indefinite wait, and 0 specifies no wait.

If you do not specify a value, the default is to wait indefinitely.

Exit status

The following codes are returned by this command.
  • 0: The command was successful.
  • 1: A usage error occurred.
  • 110: Command could not complete because an internal error occurred.

Examples

  1. This example illustrates how to import the operating-system image named OSImage.iso to the management node. After the import completes, the original image file will be removed from the system.
    smcli importosimage /home/USERID/OSImage.iso
  2. This example illustrates how to import the operating-system image named OSImage.iso to the management node. The image file will not be removed from the original location after the import completes.
    smcli importosimage -k /home/USERID/OSImage.iso