Fix ironic-inspector config
The enable_firewall option has been deprecated and removed from inspector of pxe driver filters. Since we use static dnsmasq configs, we don't really have an option of letting dnsmasq manage the config. As such, carrying forward the same basic logic with the new interfaces. Change-Id: I12eda300c2bd4dec3450497623f1ed7828a2d295
This commit is contained in:
parent
0312ffa07f
commit
a43d00df0f
|
@ -18,8 +18,12 @@ log_dir = {{ inspector_log_dir }}
|
|||
[database]
|
||||
connection=mysql+pymysql://{{ ironic_inspector.database.username }}:{{ ironic_inspector.database.password }}@{{ ironic_inspector.database.host }}/{{ ironic_inspector.database.name }}?charset=utf8
|
||||
|
||||
[firewall]
|
||||
manage_firewall = {{ inspector_manage_firewall | bool | default('false') }}
|
||||
[pxe_filter]
|
||||
{% if inspector_manage_firewall | bool | default('false') == false %}
|
||||
driver = noop
|
||||
{% else %}
|
||||
driver = iptables
|
||||
{% endif %}
|
||||
|
||||
[ironic]
|
||||
{% if enable_keystone is defined and enable_keystone | bool == true %}
|
||||
|
|
Loading…
Reference in New Issue