bundles/systemd-networkd: better dhcp support

This commit is contained in:
Franzi 2020-11-09 14:58:09 +01:00
parent 5e7c7671e0
commit 91fd33cfa0
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 20 additions and 8 deletions

View file

@ -0,0 +1,14 @@
<%
from ipaddress import ip_network
%>\
[Match]
Name=${interface}
[Network]
DHCP=yes
IPv6AcceptRA=yes
UseHostname=no
% if config.get('forwarding', False):
IPForward=yes
%endif