From 81d7f0a85cec4f533cc4581d4db9ad44e82199d2 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Mon, 19 Sep 2022 15:07:58 +0200 Subject: [PATCH] Add new line after proxyclient_address Currently Jinja trim_blocks function does remove newline from end of proxyclient_address which makes port_range option appearing on the same line. Change-Id: If33021bd0453be3ca18753777e82da12f470b278 Closes-Bug: #1988337 --- templates/nova.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/nova.conf.j2 b/templates/nova.conf.j2 index 7529a3a2..3c5bee11 100644 --- a/templates/nova.conf.j2 +++ b/templates/nova.conf.j2 @@ -114,7 +114,7 @@ vencrypt_ca_certs={{ nova_vencrypt_ca_certs }} enabled = True # Console Url and binds base_url= {{ nova_serialconsoleproxy_base_url }} -proxyclient_address = {% if nova_management_address == 'localhost' %}127.0.0.1{% else %}{{ nova_management_address }}{% endif %} +proxyclient_address = {% if nova_management_address == 'localhost' +%}127.0.0.1{% else +%}{{ nova_management_address }}{% endif +%} port_range = {{ nova_serialconsoleproxy_port_range }} {% if nova_services['nova-serialconsole-proxy']['group'] %} serialproxy_host= {{ nova_serialconsoleproxy_serialconsole_proxyserver_proxyclient_address }}