bug 980725: multi_host is always set to True with virtdriver=xenserver

set MULTI_HOST according to the value as defined in localrc or other rc files.

Change-Id: Ifc5d0fff06bffd39ab4ff1c1a6fa5d4ab10b9e27
This commit is contained in:
Armando Migliaccio 2012-04-13 12:33:49 +01:00
parent dac6e76c3e
commit 4f27a72029

View File

@ -177,7 +177,7 @@ cat <<EOF >$STAGING_DIR/opt/stack/run.sh
#!/bin/bash #!/bin/bash
cd /opt/stack/devstack cd /opt/stack/devstack
killall screen killall screen
UPLOAD_LEGACY_TTY=yes HOST_IP=$PUB_IP VIRT_DRIVER=xenserver FORCE=yes MULTI_HOST=1 HOST_IP_IFACE=$HOST_IP_IFACE $STACKSH_PARAMS ./stack.sh UPLOAD_LEGACY_TTY=yes HOST_IP=$PUB_IP VIRT_DRIVER=xenserver FORCE=yes MULTI_HOST=$MULTI_HOST HOST_IP_IFACE=$HOST_IP_IFACE $STACKSH_PARAMS ./stack.sh
EOF EOF
chmod 755 $STAGING_DIR/opt/stack/run.sh chmod 755 $STAGING_DIR/opt/stack/run.sh