Use 'openstack' command-client commands to replace glance commands

Change-Id: Id43131fa578b9808fc58c2eabaf602ae3543d6a6
Implements: blueprint use-openstack-command
This commit is contained in:
qiaomin 2016-12-06 11:29:16 +00:00
parent 509e22b8ce
commit 3159bd47b7

View File

@ -75,7 +75,7 @@ commands:
.. code-block:: console
$ glance image-create --disk-format raw --container-format bare --name <name>
$ openstack image create --disk-format raw --container-format bare IMAGE_NAME
$ glance location-add <image-uuid> --url cinder://<volume-uuid>
@ -87,4 +87,4 @@ store of the Image service.
.. code-block:: console
$ cinder upload-to-image <volume> <image-name>
$ openstack image create --volume SOURCE_VOLUME IMAGE_NAME