summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian Hunt <kristian.hunt@gmail.com>2015-12-28 14:26:10 +0200
committerAna Cunha <ana.cunha@ericsson.com>2016-01-08 11:35:21 +0000
commit782e2c401338d2be1f93f6e782ce3fd314ca0ebf (patch)
treeb0e5ecef05486fdcc6dda9e6c551bdcdd59f6dc1
parent842a5bbc053c09a3338f5d0796fa2d20aac3a498 (diff)
Fix glance yardstick-image cmd in installation doc
Glance image-create command should use --os-image-api-version 1 flag for the is-public argument. JIRA: YARDSTICK-68 Change-Id: I43a60a7dac186ae7c586aa98b6e5de9821caee60 Signed-off-by: Kristian Hunt <kristian.hunt@gmail.com> (cherry picked from commit 136762959413c038d2527c11efa8904c135f9278)
-rw-r--r--docs/user_guides/framework/03-installation.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/user_guides/framework/03-installation.rst b/docs/user_guides/framework/03-installation.rst
index d2cae36b8..31f8a922e 100644
--- a/docs/user_guides/framework/03-installation.rst
+++ b/docs/user_guides/framework/03-installation.rst
@@ -92,7 +92,8 @@ via the OpenStack Dashboard.
Example command:
::
- glance image-create --name yardstick-trusty-server --is-public true \
+ glance --os-image-api-version 1 image-create \
+ --name yardstick-trusty-server --is-public true \
--disk-format qcow2 --container-format bare \
--file /tmp/workspace/yardstick/yardstick-trusty-server.img