Skip to content

Commit 857035d

Browse files
improve comment
1 parent a3475e5 commit 857035d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

stack.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,10 @@ SCHEDULER=${SCHEDULER:-nova.scheduler.simple.SimpleScheduler}
173173
if [ ! -n "$HOST_IP" ]; then
174174
HOST_IP=`LC_ALL=C /sbin/ifconfig eth0 | grep -m 1 'inet addr:'| cut -d: -f2 | awk '{print $1}'`
175175
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."
177180
exit 1
178181
fi
179182
fi

0 commit comments

Comments
 (0)