NAME

opsaddimage - It adds or removes nodes for the vlan.

SYNOPSIS

opsaddimage image1,image2,... -n new_name1,new_name2,... [-c controller] [-V|--verbose]

opsaddimage [-h|--help]

opsaddimage [-v|--version]

DESCRIPTION

The opsaddimage command adds a list of xCAT images into the OpenStack cloud.

Under the cover, it creates a fake image and registers the fake image into OpenStack with command glance image-create. It sets the property in the image to indicate that this is an xCAT image and also stores the original xCAT image name in the property for further reference.

The xCAT image names can be listed using lsdef -t osimage command.

Parameters

image1,image1... a comma separated xCAT images names.

OPTIONS

-n a comma separated new image names in the OpenStack. If omitted, the default is the original xCAT image nanme.
-c the node name of the OpenStack controller. This node must be an xCAT managed node.
-h|--help Display usage message.
-v|--version The Command Version.
-V|--verbose Verbose output.

RETURN VALUE

0 The command completed successfully.

1 An error has occurred.

EXAMPLES

  1. To register xCAT image rhels6.3-x86_64-install-compute into OpenStack.

      opsaddimage rhels6.3-x86_64-install-compute -c sv2

FILES

/opt/xcat/bin/opsaddimage

SEE ALSO

opsaddbmnode(1)