From 8d9b80684b51df01556bfc1db990f90e93854a7a Mon Sep 17 00:00:00 2001 From: Jim Rollenhagen Date: Mon, 15 Sep 2014 16:42:03 -0700 Subject: [PATCH] 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 --- 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 24cabc9e08..621d1d5fee 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