Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleUpload image to glance
glance image-create --name <image_name> --file <image_location> --disk-format raw --container-format bare --is-visibility public True --progress 
openstack image create --file <image_location> --disk-format raw --container-format bare [--public|--private] <image_name>

...

Code Block
titleUpload image to glance
glance image-create --name "Ubuntu Server 16.04 (Xenial) amd64" --file xenial-server-cloudimg-amd64-disk1.img.raw --disk-format raw --container-format bare --is-public True --progress
openstack image create --file xenial-server-cloudimg-amd64-disk1.img.raw --disk-format raw --container-format bare --public "Ubuntu Server 16.04 (Xenial) amd64"

The "–is-–visibility public Trueflag is used to indicate that all tenants projects should have access to this image, and the upload would then require admin credentials. In the case of an image upload which should only be accessible to the tenant project uploading it, that flag can be omitted.

...