From a3475e53c1eba531e8ff718c33788abfb7c58b77 Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Mon, 7 Nov 2011 13:24:00 -0600 Subject: [PATCH] fix typo --- stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack.sh b/stack.sh index dea7501..9bebe84 100755 --- a/stack.sh +++ b/stack.sh @@ -172,7 +172,7 @@ SCHEDULER=${SCHEDULER:-nova.scheduler.simple.SimpleScheduler} # Use the eth0 IP unless an explicit is set by ``HOST_IP`` environment variable if [ ! -n "$HOST_IP" ]; then HOST_IP=`LC_ALL=C /sbin/ifconfig eth0 | grep -m 1 'inet addr:'| cut -d: -f2 | awk '{print $1}'` - if [ "$HOST_IP" = "" ]; + if [ "$HOST_IP" = "" ]; then echo "Could not determine host ip address. Please specify HOST_IP in your localrc." exit 1 fi