Atom feed of this document
 

 Adding images with glance image-create

Use the glance image-create command to add a new virtual machine image to glance, and use glance image-update to modify properties of an image that has been updated. The image-create command takes several optional arguments, but you should specify a name for your image using the --name flag, as well as the disk format with --disk-format and container format with --container-format. Pass in the file via standard input or using the file command. For example:

$ glance image-create --name myimage --disk-format=raw --container-format=bare < /path/to/file.img

or

$ glance image-create --name myimage --disk-format=raw --container-format=bare --file /path/to/file.img
Log a bug against this page


loading table of contents...