Fix hard coded quantum url and port
Fixes bug 1131384
Change-Id: I88804808e9b2c2d181a3c74af82bd3fad05f63cc
diff --git a/lib/quantum b/lib/quantum
index 61a5218..daf945a 100644
--- a/lib/quantum
+++ b/lib/quantum
@@ -348,7 +348,7 @@
# Start the Quantum service
screen_it q-svc "cd $QUANTUM_DIR && python $QUANTUM_DIR/bin/quantum-server --config-file $QUANTUM_CONF --config-file /$Q_PLUGIN_CONF_FILE"
echo "Waiting for Quantum to start..."
- if ! timeout $SERVICE_TIMEOUT sh -c "while ! http_proxy= wget -q -O- http://127.0.0.1:9696; do sleep 1; done"; then
+ if ! timeout $SERVICE_TIMEOUT sh -c "while ! http_proxy= wget -q -O- http://$Q_HOST:$Q_PORT; do sleep 1; done"; then
echo "Quantum did not start"
exit 1
fi