summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAnthony Young <sleepsonthefloor@gmail.com>2010-12-28 18:11:28 -0800
committerAnthony Young <sleepsonthefloor@gmail.com>2010-12-28 18:11:28 -0800
commitaa71b29518377a14d6dfec792ffd3790bd7849e7 (patch)
tree877492b3e9f203074ad472afcbb9f5ffc3a005a5 /contrib
parent4b5bd4b4a8db70c40180c745f9bfc33aa6572e09 (diff)
downloadnova-aa71b29518377a14d6dfec792ffd3790bd7849e7.tar.gz
add ajax console proxy to nova.sh
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/nova.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/nova.sh b/contrib/nova.sh
index 30df4edb65..92a50f8bcf 100755
--- a/contrib/nova.sh
+++ b/contrib/nova.sh
@@ -15,7 +15,7 @@ if [ ! -n "$HOST_IP" ]; then
# NOTE(vish): This will just get the first ip in the list, so if you
# have more than one eth device set up, this will fail, and
# you should explicitly set HOST_IP in your environment
- HOST_IP=`ifconfig | grep -m 1 'inet addr:'| cut -d: -f2 | awk '{print $1}'`
+ HOST_IP=`LC_ALL=C ifconfig | grep -m 1 'inet addr:'| cut -d: -f2 | awk '{print $1}'`
fi
USE_MYSQL=${USE_MYSQL:-0}
@@ -155,6 +155,7 @@ if [ "$CMD" == "run" ]; then
screen_it network "$NOVA_DIR/bin/nova-network"
screen_it scheduler "$NOVA_DIR/bin/nova-scheduler"
screen_it volume "$NOVA_DIR/bin/nova-volume"
+ screen_it ajax_console_proxy "$NOVA_DIR/bin/nova-ajax-console-proxy"
screen_it test ". $NOVA_DIR/novarc"
screen -S nova -x
fi