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

@@ -3,8 +3,10 @@ nodes:
primary network: untagged
network devices:
untagged:
onboot: true
device: eth0
tagged:
onboot: true
type: vlan
device: eth0.902
tags:

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 }}