1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

ensure we want to use dhcp in template

This commit is contained in:
Jerry Vonau 2018-05-13 17:20:59 -05:00
parent 0c578c6a7d
commit e7fc6cc36d

View file

@ -27,7 +27,7 @@ iface br0 inet static
{% if dhcpcd_result == "enabled" or wan_in_interfaces %} {% if dhcpcd_result == "enabled" or wan_in_interfaces %}
# client or user defined # client or user defined
{% endif %} {% 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 #cover butt
auto {{ iiab_wan_iface }} auto {{ iiab_wan_iface }}
iface {{ iiab_wan_iface }} inet dhcp iface {{ iiab_wan_iface }} inet dhcp