diff --git a/roles/network/templates/network/systemd.j2 b/roles/network/templates/network/systemd.j2 index 9424d13e9..f5552e86d 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 %} +{% 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