opsaddimage - It adds or removes nodes for the vlan.
opsaddimage image1,image2,... -n new_name1,new_name2,... [-c controller] [-V|--verbose]
opsaddimage [-h|--help]
opsaddimage [-v|--version]
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.
image1,image1... a comma separated xCAT images names.
0 The command completed successfully.
1 An error has occurred.
To register xCAT image rhels6.3-x86_64-install-compute into OpenStack.
opsaddimage rhels6.3-x86_64-install-compute -c sv2
/opt/xcat/bin/opsaddimage