Support spicehtml5proxy on baremetal with haproxy

This patch changes the listener address for spicehtml5proxy from 0.0.0.0
(default) to the nova_management_address to avoid "Address already in use"
errors.

Change-Id: I952998f3c6dd7db218b572c057149352c41c1d65
This commit is contained in:
James Denton 2020-10-20 09:09:37 -05:00
parent afb166d26e
commit 4b11fa8b70
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ agent_enabled = {{ nova_console_agent_enabled }}
enabled = {{ nova_console_agent_enabled }}
# Console Url and binds
html5proxy_base_url = {{ nova_spice_html5proxy_base_url }}
html5proxy_host = {% if nova_management_address == 'localhost' %}127.0.0.1{% else %}{{ nova_management_address }}{% endif %}
server_listen = {% if nova_management_address == 'localhost' %}127.0.0.1{% else %}{{ nova_management_address }}{% endif %}
server_proxyclient_address = {% if nova_management_address == 'localhost' %}127.0.0.1{% else %}{{ nova_management_address }}{% endif %}