From 857035dc6728383579528aa1b203717279d75eaf Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Mon, 7 Nov 2011 14:02:13 -0600 Subject: [PATCH] improve comment --- stack.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stack.sh b/stack.sh index 9bebe84..8d1ec8a 100755 --- a/stack.sh +++ b/stack.sh @@ -173,7 +173,10 @@ SCHEDULER=${SCHEDULER:-nova.scheduler.simple.SimpleScheduler} 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" = "" ]; then - echo "Could not determine host ip address. Please specify HOST_IP in your localrc." + echo "Could not determine host ip address." + echo "If this is not your first run of stack.sh, it is " + echo "possible that nova moved your eth0 ip address to the FLAT_NETWORK_BRIDGE." + echo "Please specify your HOST_IP in your localrc." exit 1 fi fi