Configure ONBOOT with netdev.OnBoot

Closes #644

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
This commit is contained in:
Jonathon Anderson
2023-04-20 02:50:47 -06:00
parent 28c8b335c1
commit 6428534dc3
2 changed files with 7 additions and 1 deletions

View File

@@ -24,7 +24,9 @@ HWADDR={{ $netdev.Hwaddr }}
{{ if $netdev.Type -}}
TYPE={{ $netdev.Type }}
{{ end -}}
ONBOOT=yes
{{ if $netdev.OnBoot -}}
ONBOOT={{ $netdev.OnBoot }}
{{ end -}}
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes