diff options
author | Lucas Alvares Gomes <lucasagomes@gmail.com> | 2014-08-19 11:53:42 +0100 |
---|---|---|
committer | Lucas Alvares Gomes <lucasagomes@gmail.com> | 2014-08-19 12:00:07 +0100 |
commit | 1bd831bf33a5bee0bde94e646e6dad89ead436f2 (patch) | |
tree | 5d49bd3dcabf8b5bdea0fa967b691058fd9ffe1f /doc | |
parent | edc9bb038addfc27ffe75ecb81a568c6ebb876c2 (diff) | |
download | ironic-1bd831bf33a5bee0bde94e646e6dad89ead436f2.tar.gz |
Update DevStack guide when querying the image UUID
The command to query the UUID of the default image to be deployed
was retuning more than one UUID because of a grep problem, that would
also cause the "nova boot" command to fail because it was passing more
arguments that expected.
This commit fix the regex to query the UUID of the image by ignoring
what comes after the name of the image.
Change-Id: I03ad610fdd3313977b61d0d82bd1b33811f7ece1
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/dev/dev-quickstart.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/dev/dev-quickstart.rst b/doc/source/dev/dev-quickstart.rst index 650911b16..24cabc9e0 100644 --- a/doc/source/dev/dev-quickstart.rst +++ b/doc/source/dev/dev-quickstart.rst @@ -318,7 +318,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=$(nova image-list | egrep "$DEFAULT_IMAGE_NAME[^-]" | awk '{ print $2 }') # create keypair ssh-keygen |