1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

add not wan_in_interfaces check before cobbering /etc/network/interfaces

This commit is contained in:
Jerry Vonau 2017-11-22 14:01:40 -06:00
parent b9d97bce4f
commit f8d7c1ddad

View file

@ -67,7 +67,7 @@
- name: Copy the bridge script for has_NM
template: dest=/etc/network/interfaces
src=network/systemd.j2
when: has_NM and iiab_lan_iface == "br0"
when: has_NM and not wan_in_interfaces and iiab_lan_iface == "br0"
# or provide keyfile layout like the XO's used way back.