summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-12-01 15:59:26 +0000
committerGerrit Code Review <review@openstack.org>2015-12-01 15:59:26 +0000
commit56311d6e24b2711bf0f727e977a22240fd849198 (patch)
tree94774e13d8da32d8a67737ad0b05de6b7c86be30 /doc
parentbe22b3923ba54ee6829217db9cf175e31c227b90 (diff)
parente2384d0012dd51773dbb4b4436b81cf45078a1b9 (diff)
downloadpython-glanceclient-56311d6e24b2711bf0f727e977a22240fd849198.tar.gz
Merge "Change man page examples to correlate default v2"
Diffstat (limited to 'doc')
-rw-r--r--doc/source/man/glance.rst10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/source/man/glance.rst b/doc/source/man/glance.rst
index 2b73dc5..6b53903 100644
--- a/doc/source/man/glance.rst
+++ b/doc/source/man/glance.rst
@@ -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`
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
=======
@@ -72,12 +74,12 @@ See available images::
Create new image::
glance image-create --name foo --disk-format=qcow2 \
- --container-format=bare --is-public=True \
- --copy-from http://somewhere.net/foo.img
+ --container-format=bare --visibility=public \
+ --file /tmp/foo.img
Describe a specific image::
- glance image-show foo
+ glance image-show <Image-ID>
BUGS