Fix generation of globals.yml
kolla_inspector_* variables are identified by Jinja as empty strings
rather than none, so globals.yml is generated with a syntax error:
ironic_dnsmasq_dhcp_range: ,
^ here
Change-Id: Ic36faaff37333f5af03a130dd97d31b26b7ff97f
(cherry picked from commit 68c50520b3
)
This commit is contained in:
parent
958c0e3caf
commit
bd9e86c5d2
|
@ -287,7 +287,7 @@ enable_{{ feature_flag }}: {{ hostvars[inventory_hostname]['kolla_enable_' ~ fea
|
|||
#############################
|
||||
# Ironic options
|
||||
#############################
|
||||
{% if kolla_inspector_dhcp_pool_start is not none and kolla_inspector_dhcp_pool_end is not none %}
|
||||
{% if kolla_inspector_dhcp_pool_start and kolla_inspector_dhcp_pool_end %}
|
||||
ironic_dnsmasq_dhcp_range: {{ kolla_inspector_dhcp_pool_start }},{{ kolla_inspector_dhcp_pool_end }}
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue