From adc55135d676936cb767ed77535ab5c59bd10e91 Mon Sep 17 00:00:00 2001 From: Samuel Lorch Date: Sat, 8 Apr 2023 00:31:46 +0200 Subject: [PATCH] Use Correct Variable, Remove Whitespace --- internal/networkd/template/config-addressing.network.tmpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/networkd/template/config-addressing.network.tmpl b/internal/networkd/template/config-addressing.network.tmpl index dc4276c..e3ca2b1 100644 --- a/internal/networkd/template/config-addressing.network.tmpl +++ b/internal/networkd/template/config-addressing.network.tmpl @@ -1,9 +1,10 @@ [Match] Name= {{ .Name }} + [Network] LLMNR=no -{{ if eq .AddressingMode 2 }} +{{- if eq .AddressingMode 2 }} DHCP=yes {{- else }} -Address= {{ .Name }} +Address= {{ .Address }} {{- end }} \ No newline at end of file