Use enabled option for vnc
vnc_enabled, novnc_enabled are depreacted but should be in DEFAULT section. Commit [1] moved the deprecated options under vnc group so they dont have any effect. This leads to vnc as True which is default option in nova. Change the template to use enabled option instead of deprecated ones [1]73edc4f817
Closes-Bug: #1998300 Change-Id: I4193c042f6b3a55dfb1dc57f0f4d3bc71e19006f (cherry picked from commit83497e833d
)
This commit is contained in:
parent
95a70203db
commit
ea06268d39
|
@ -368,8 +368,7 @@ cpu_dedicated_set = {{ cpu_dedicated_set }}
|
|||
|
||||
[vnc]
|
||||
{% if console_vnc_type -%}
|
||||
vnc_enabled = True
|
||||
novnc_enabled = True
|
||||
enabled = True
|
||||
vnc_keymap = {{ console_keymap }}
|
||||
server_listen = {{ console_listen_addr }}
|
||||
server_proxyclient_address = {{ console_listen_addr }}
|
||||
|
@ -382,8 +381,7 @@ xvpvncproxy_host = {{ xvpvnc_proxy_host }}
|
|||
xvpvncproxy_base_url = {{ xvpvnc_proxy_address }}
|
||||
{% endif -%}
|
||||
{% else -%}
|
||||
vnc_enabled = False
|
||||
novnc_enabled = False
|
||||
enabled = False
|
||||
{% endif -%}
|
||||
|
||||
[wsgi]
|
||||
|
|
Loading…
Reference in New Issue