bundles/systemd-networkd: support vlans
This commit is contained in:
parent
4213b60052
commit
75d86f3339
4 changed files with 47 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue