Add Static Route Backend

This commit is contained in:
Samuel Lorch 2023-04-08 17:07:26 +02:00
parent dec123e9ee
commit 3197f291fa
4 changed files with 40 additions and 6 deletions

View file

@ -14,4 +14,13 @@ DHCP=yes
{{- end }}
{{- range .Vlans }}
VLAN={{ . }}
{{- end}}
{{- end}}
{{- range .StaticRoutes }}
[Route]
Destination={{ Destination }}
Gateway={{ Gateway }}
{{- if ne .Metric 0 }}
Metric={{ Metric }}
{{- end }}
{{end}}