Return OnBoot to wwtype.WWbool

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2024-11-04 16:41:02 -07:00
parent a7325b6ffa
commit 8a602e8a76
11 changed files with 13 additions and 11 deletions

View File

@@ -14,7 +14,7 @@ master={{ $master }}
type=ethernet
{{- else }}
type={{if $netdev.Type}}{{ $netdev.Type }}{{ else }}ethernet{{end}}
{{- if or $netdev.OnBoot (eq $netdev.OnBoot nil) }}
{{- if $netdev.OnBoot }}
autoconnect=true
{{- end }}
{{- end }}