nova: add an option for no console

On AArch64 we run VMs without any graphics so nova console is not
available. For now we had to disable it by hand but it can be automated.

Change-Id: Ib903044493ca98c0dd29d3096f66272e130668b0
This commit is contained in:
Marcin Juszkiewicz 2017-12-18 10:31:54 +01:00
parent df4641b547
commit f5fcc868b2
2 changed files with 6 additions and 1 deletions

View File

@ -84,6 +84,11 @@ html5proxy_base_url = {{ public_protocol }}://{{ kolla_external_fqdn }}:{{ nova_
{% endif %}
html5proxy_host = {{ api_interface_address }}
html5proxy_port = {{ nova_spicehtml5proxy_port }}
{% elif nova_console == 'none' %}
[vnc]
enabled = false
[spice]
enabled = false
{% endif %}
{% if enable_nova_serialconsole_proxy | bool %}
[serial_console]

View File

@ -133,7 +133,7 @@ kolla_internal_vip_address: "10.10.10.254"
# Valid options are [ True, False ]
#openstack_logging_debug: "False"
# Valid options are [ novnc, spice, rdp ]
# Valid options are [ none, novnc, spice, rdp ]
#nova_console: "novnc"
# OpenStack services can be enabled or disabled with these options