From abf2c7f80b7ea4b374154554e2245b85f6056f56 Mon Sep 17 00:00:00 2001 From: stebifan Date: Fri, 1 Nov 2019 21:36:29 +0100 Subject: [PATCH] Added DHCP IPv4 only Fix --- install.sn.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.sn.yml b/install.sn.yml index 993f34c..706db77 100644 --- a/install.sn.yml +++ b/install.sn.yml @@ -182,6 +182,12 @@ - name: Add cron static DHCP cron: name=StaticDHCP minute="*" job="/opt/freifunk/static-dhcp/dhcp-update.sh" when: dhcpd.changed + - name: Replace interface line ISC-DHCP-server + lineinfile: + dest: /etc/default/isc-dhcp-server + regexp: 'INTERFACESv4=' + line: 'INTERFACESv4="br-nodes"' + when: dhcpd.changed - name: Restart dhcpd service: name=isc-dhcp-server state=restarted when: dhcpd.changed