move vlan-assignments into config-addressing

This commit is contained in:
Samuel Lorch 2023-04-08 15:01:28 +02:00
parent fc49a2479e
commit dec123e9ee
3 changed files with 9 additions and 38 deletions

View file

@ -11,4 +11,7 @@ LLMNR=no
Address={{ .Address }}
{{- else if eq .AddressingMode 2 }}
DHCP=yes
{{- end }}
{{- end }}
{{- range .Vlans }}
VLAN={{ . }}
{{- end}}

View file

@ -1,7 +0,0 @@
[Match]
Name={{ .Name }}
[Network]
{{- range .Vlans }}
VLAN={{ . }}
{{- end}}