Use Correct Variable, Remove Whitespace

This commit is contained in:
Samuel Lorch 2023-04-08 00:31:46 +02:00
parent 2bae5a01c9
commit adc55135d6

View file

@ -1,9 +1,10 @@
[Match] [Match]
Name= {{ .Name }} Name= {{ .Name }}
[Network] [Network]
LLMNR=no LLMNR=no
{{ if eq .AddressingMode 2 }} {{- if eq .AddressingMode 2 }}
DHCP=yes DHCP=yes
{{- else }} {{- else }}
Address= {{ .Name }} Address= {{ .Address }}
{{- end }} {{- end }}