Create a system image and upload it to the/mnt/image directory:
Centos6.5.img
$ Glance image-create-name centos6.5-disk-format = qcow2-container-format = bare-is-Public = true-file =/mnt/image/centos6.5.img
Explanation:
-Name: The name displayed in openstack after the image is uploaded;
-Disk-format disk_format: The image format. For details about the formats supported by openstack, see the official introduction;
-The container format of the container-format container_format image can be AMI, Ari, Aki, ovf, and bare. The default value is bare.
-Owner tenant_id: the tenant can use this image.
-Size size: the size of the image.
-Min-disk disk_gb: the minimum size required for starting the image;
-Min-ram disk_ram: Minimum Memory required to start this image;
-Location image_url: You can use the URL address to upload images on the web interface. Currently, HTTP is supported;
-Local directory where the file image is located;
-Checksum image data verification;
-Is-public [true | false] indicates whether the image is shared. After sharing, other users can use the image to start the instance;
This article is from the "Siberian wolf" blog, please be sure to keep this source http://kernal.blog.51cto.com/8136890/1530227