Fix Devstack docs for zsh users

The current docs fail with the following error:
$ image=$(nova image-list | egrep "$DEFAULT_IMAGE_NAME[^-]" | awk '{print $2 }')
zsh: bad math expression: operand expected at `^-'

With this change, these docs work as expected for zsh users.

Change-Id: I56c39718cfe40208f62ea4786d684f6b24431ed9
This commit is contained in:
Jim Rollenhagen 2014-09-15 16:42:03 -07:00
parent f92071e501
commit 8d9b80684b

View File

@ -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