Browse code

Make --vnc_listen configurable

Change-Id: I3499306f5fd56f602657794632dddb0bb11f2958

Anthony Young authored on 2012/01/27 02:38:33
Showing 1 changed files
... ...
@@ -1198,6 +1198,10 @@ if [ "$VIRT_DRIVER" = 'xenserver' ]; then
1198 1198
 else
1199 1199
     VNCSERVER_PROXYCLIENT_ADDRESS=${VNCSERVER_PROXYCLIENT_ADDRESS=127.0.0.1}
1200 1200
 fi
1201
+# Address on which instance vncservers will listen on compute hosts.
1202
+# For multi-host, this should be the management ip of the compute host.
1203
+VNCSERVER_LISTEN=${VNCSERVER_LISTEN=127.0.0.1}
1204
+add_nova_flag "--vncserver_listen=$VNCSERVER_LISTEN"
1201 1205
 add_nova_flag "--vncserver_proxyclient_address=$VNCSERVER_PROXYCLIENT_ADDRESS"
1202 1206
 add_nova_flag "--api_paste_config=$NOVA_DIR/bin/nova-api-paste.ini"
1203 1207
 add_nova_flag "--image_service=nova.image.glance.GlanceImageService"