Return OnBoot to wwtype.WWbool
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -3,8 +3,10 @@ nodes:
|
||||
primary network: untagged
|
||||
network devices:
|
||||
untagged:
|
||||
onboot: true
|
||||
device: eth0
|
||||
tagged:
|
||||
onboot: true
|
||||
type: vlan
|
||||
device: eth0.902
|
||||
tags:
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user