diff --git a/roles/network/templates/network/systemd.j2 b/roles/network/templates/network/systemd.j2 index f5552e86d..f81e926c2 100644 --- a/roles/network/templates/network/systemd.j2 +++ b/roles/network/templates/network/systemd.j2 @@ -27,7 +27,7 @@ iface br0 inet static {% if dhcpcd_result == "enabled" or wan_in_interfaces %} # client or user defined {% endif %} -{% if dhcpcd_result != "enabled" and not wan_in_interfaces %} and wan_ip == "dhcp" +{% if dhcpcd_result != "enabled" and not wan_in_interfaces and wan_ip == "dhcp" %} #cover butt auto {{ iiab_wan_iface }} iface {{ iiab_wan_iface }} inet dhcp