Make --vnc_listen configurable

Change-Id: I3499306f5fd56f602657794632dddb0bb11f2958
This commit is contained in:
Anthony Young 2012-01-26 09:38:33 -08:00
parent d4f44b49d9
commit 50fc5c64ec

View File

@ -1198,6 +1198,10 @@ if [ "$VIRT_DRIVER" = 'xenserver' ]; then
else
VNCSERVER_PROXYCLIENT_ADDRESS=${VNCSERVER_PROXYCLIENT_ADDRESS=127.0.0.1}
fi
# Address on which instance vncservers will listen on compute hosts.
# For multi-host, this should be the management ip of the compute host.
VNCSERVER_LISTEN=${VNCSERVER_LISTEN=127.0.0.1}
add_nova_flag "--vncserver_listen=$VNCSERVER_LISTEN"
add_nova_flag "--vncserver_proxyclient_address=$VNCSERVER_PROXYCLIENT_ADDRESS"
add_nova_flag "--api_paste_config=$NOVA_DIR/bin/nova-api-paste.ini"
add_nova_flag "--image_service=nova.image.glance.GlanceImageService"