Revert NetDevs.Manual back to NetDevs.OnBoot

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2024-10-17 22:55:31 -04:00
parent adb54a870d
commit bb5d1d17ed
9 changed files with 19 additions and 14 deletions

View File

@@ -13,7 +13,9 @@ master={{ $master }}
type=ethernet
{{ else -}}
type={{if $netdev.Type}}{{ $netdev.Type }}{{ else }}ethernet{{end}}
autoconnect={{ if $netdev.Manual }}false{{else}}true{{end}}
{{ if or $netdev.OnBoot (eq $netdev.OnBoot nil) -}}
autoconnect=true
{{ end -}}
{{ end -}}
{{ if $netdev.Hwaddr -}}
{{ if or (eq $netdev.Type "ethernet") (not $netdev.Type ) -}}