Quellcode durchsuchen

container_runtime: do not depend on iptables when using firewalld

Arun Babu Neelicattu vor 6 Jahren
Ursprung
Commit
bab0cdbb22
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      roles/container_runtime/templates/systemcontainercustom.conf.j2

+ 1 - 1
roles/container_runtime/templates/systemcontainercustom.conf.j2

@@ -10,7 +10,7 @@ Environment=HTTPS_PROXY={{ docker_http_proxy }}
 {% if "no_proxy" in openshift.common %}
 Environment=NO_PROXY={{ docker_no_proxy }}
 {% endif %}
-{%- if os_firewall_use_firewalld|default(false) %}
+{%- if not (os_firewall_use_firewalld | default(False)) | bool %}
 [Unit]
 Wants=iptables.service
 After=iptables.service