Doc: Replace nova image-list

The "nova image-list" command has been deprecated, this patch is replacing
it with the openstack client "image show" command in our docs.

Closes-Bug: #1582211
Change-Id: I857d105a7868a610a4d97516117840cc4309c51d
This commit is contained in:
Lucas Alvares Gomes 2016-05-16 13:35:22 +01:00
parent 46a410f52b
commit 084c9694e5

View File

@ -464,7 +464,7 @@ Source credentials, create a key, and spawn an instance::
source ~/devstack/openrc
# query the image id of the default cirros image
image=$(nova image-list | egrep "$DEFAULT_IMAGE_NAME"'[^-]' | awk '{ print $2 }')
image=$(openstack image show $DEFAULT_IMAGE_NAME -f value -c id)
# create keypair
ssh-keygen