Browse code

improve comment

Anthony Young authored on 2011/11/08 05:02:13
Showing 1 changed files
... ...
@@ -173,7 +173,10 @@ SCHEDULER=${SCHEDULER:-nova.scheduler.simple.SimpleScheduler}
173 173
 if [ ! -n "$HOST_IP" ]; then
174 174
     HOST_IP=`LC_ALL=C /sbin/ifconfig eth0 | grep -m 1 'inet addr:'| cut -d: -f2 | awk '{print $1}'`
175 175
     if [ "$HOST_IP" = "" ]; then
176
-        echo "Could not determine host ip address.  Please specify HOST_IP in your localrc."
176
+        echo "Could not determine host ip address."
177
+        echo "If this is not your first run of stack.sh, it is "
178
+        echo "possible that nova moved your eth0 ip address to the FLAT_NETWORK_BRIDGE."
179
+        echo "Please specify your HOST_IP in your localrc."
177 180
         exit 1
178 181
     fi
179 182
 fi