From 084c9694e5f48b0030cf420086efe0d478727b33 Mon Sep 17 00:00:00 2001 From: Lucas Alvares Gomes Date: Mon, 16 May 2016 13:35:22 +0100 Subject: [PATCH] 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 --- doc/source/dev/dev-quickstart.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/dev/dev-quickstart.rst b/doc/source/dev/dev-quickstart.rst index 59eb627e81..49e1d1a48b 100644 --- a/doc/source/dev/dev-quickstart.rst +++ b/doc/source/dev/dev-quickstart.rst @@ -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