Use the renamed vnc options
As the following commit has renamed the two vnc options; let's use the new options in devstack: https://review.openstack.org/#/c/498387/ Change-Id: Id125666814ea9bb8a22b579aee0f6bc1c65ade80
This commit is contained in:
parent
e4eef81c2b
commit
843b039b3c
4
lib/nova
4
lib/nova
@ -520,8 +520,8 @@ function create_nova_conf {
|
||||
# For multi-host, this should be the management ip of the compute host.
|
||||
VNCSERVER_LISTEN=${VNCSERVER_LISTEN=$NOVA_SERVICE_LOCAL_HOST}
|
||||
VNCSERVER_PROXYCLIENT_ADDRESS=${VNCSERVER_PROXYCLIENT_ADDRESS=$NOVA_SERVICE_LOCAL_HOST}
|
||||
iniset $NOVA_CONF vnc vncserver_listen "$VNCSERVER_LISTEN"
|
||||
iniset $NOVA_CONF vnc vncserver_proxyclient_address "$VNCSERVER_PROXYCLIENT_ADDRESS"
|
||||
iniset $NOVA_CONF vnc server_listen "$VNCSERVER_LISTEN"
|
||||
iniset $NOVA_CONF vnc server_proxyclient_address "$VNCSERVER_PROXYCLIENT_ADDRESS"
|
||||
iniset $NOVA_CONF vnc novncproxy_host "$NOVA_SERVICE_LISTEN_ADDRESS"
|
||||
iniset $NOVA_CONF vnc xvpvncproxy_host "$NOVA_SERVICE_LISTEN_ADDRESS"
|
||||
else
|
||||
|
@ -71,8 +71,8 @@ function configure_nova_hypervisor {
|
||||
iniset $NOVA_CONF libvirt connection_uri "parallels+unix:///system"
|
||||
iniset $NOVA_CONF libvirt images_type "ploop"
|
||||
iniset $NOVA_CONF DEFAULT force_raw_images "False"
|
||||
iniset $NOVA_CONF vnc vncserver_proxyclient_address $HOST_IP
|
||||
iniset $NOVA_CONF vnc vncserver_listen $HOST_IP
|
||||
iniset $NOVA_CONF vnc server_proxyclient_address $HOST_IP
|
||||
iniset $NOVA_CONF vnc server_listen $HOST_IP
|
||||
iniset $NOVA_CONF vnc keymap
|
||||
elif [[ "$NOVA_BACKEND" == "LVM" ]]; then
|
||||
iniset $NOVA_CONF libvirt images_type "lvm"
|
||||
|
Loading…
Reference in New Issue
Block a user