[ops-guide] Use 'openstack image list' to replace 'nova image-list'

The command 'nova image-list' is deprecated and will be removed after
Nova 15.0.0 is released, so this patch use 'openstack image list' to
replace it in operations guide for cleanup.

Change-Id: I67041464bfe93d670cc4bdd5e8d1d51121e705cc
This commit is contained in:
qiaomin 2016-10-19 09:23:14 +00:00
parent 67f64fd5c6
commit 159b71653e
2 changed files with 2 additions and 2 deletions

View File

@ -271,7 +271,7 @@ When you join the screen session that ``stack.sh`` starts with
.. code-block:: console
$ IMAGE_ID=`nova image-list | egrep cirros | egrep -v "kernel|ramdisk" | awk '{print $2}'`
$ IMAGE_ID=`openstack image list | egrep cirros | egrep -v "kernel|ramdisk" | awk '{print $2}'`
#. Boot a test server:

View File

@ -327,7 +327,7 @@ upgrade process.
for the OpenStack release in your environment.
#. After migration, users see different results from
:command:`nova image-list` and :command:`glance image-list`. To ensure
:command:`openstack image list` and :command:`glance image-list`. To ensure
users see the same images in the list
commands, edit the ``/etc/glance/policy.json`` and
``/etc/nova/policy.json`` files to contain