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:
parent
46a410f52b
commit
084c9694e5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user