bundles/systemd-networkd: support vlans

This commit is contained in:
Franzi 2020-11-13 16:29:17 +01:00
parent 4213b60052
commit 75d86f3339
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 47 additions and 1 deletions

View file

@ -36,3 +36,7 @@ IPv6AcceptRA=no
% if config.get('forwarding', False):
IPForward=yes
%endif
% for vlan in sorted(config.get('vlans', set())):
VLAN=${interface}.${vlan}
% endfor