Merge "Change man page examples to correlate default v2"

This commit is contained in:
Jenkins
2015-12-01 15:59:26 +00:00
committed by Gerrit Code Review

View File

@@ -44,7 +44,9 @@ supplying an auth token using :option:`--os-image-url` and
You can select an API version to use by :option:`--os-image-api-version` You can select an API version to use by :option:`--os-image-api-version`
option or by setting corresponding environment variable:: option or by setting corresponding environment variable::
export OS_IMAGE_API_VERSION=2 export OS_IMAGE_API_VERSION=1
Default Images API used is v2.
OPTIONS OPTIONS
======= =======
@@ -72,12 +74,12 @@ See available images::
Create new image:: Create new image::
glance image-create --name foo --disk-format=qcow2 \ glance image-create --name foo --disk-format=qcow2 \
--container-format=bare --is-public=True \ --container-format=bare --visibility=public \
--copy-from http://somewhere.net/foo.img --file /tmp/foo.img
Describe a specific image:: Describe a specific image::
glance image-show foo glance image-show <Image-ID>
BUGS BUGS