Browse code

Default Q_HOST to HOST_IP rather than localhost.

This makes it less likely to interact with e.g. http_proxy settings.

I filed this as bug 1080561.

Change-Id: If97459a28f2d2a77cd322bb3f6024d11fbb8fcd4

Robert Collins authored on 2012/11/19 14:55:33
Showing 1 changed files
... ...
@@ -330,7 +330,7 @@ Q_PLUGIN=${Q_PLUGIN:-openvswitch}
330 330
 # Default Quantum Port
331 331
 Q_PORT=${Q_PORT:-9696}
332 332
 # Default Quantum Host
333
-Q_HOST=${Q_HOST:-localhost}
333
+Q_HOST=${Q_HOST:-$HOST_IP}
334 334
 # Which Quantum API nova should use
335 335
 # Default admin username
336 336
 Q_ADMIN_USERNAME=${Q_ADMIN_USERNAME:-quantum}