Browse Source

Merge pull request #8609 from abn/systemcontainer-config

container_runtime: do not depend on iptables when using firewalld
OpenShift Merge Robot 6 years ago
parent
commit
73079a70fc
1 changed files with 1 additions and 1 deletions
  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