mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
ensure we want to use dhcp in template
This commit is contained in:
parent
0c578c6a7d
commit
e7fc6cc36d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue