Configure ONBOOT with netdev.OnBoot
Closes #644 Signed-off-by: Jonathon Anderson <janderson@ciq.co>
This commit is contained in:
@@ -16,6 +16,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Restrict access to `/warewulf/config` to root only. (#728, #742)
|
- Restrict access to `/warewulf/config` to root only. (#728, #742)
|
||||||
- KERNEL VERSION column is too short. #690
|
- KERNEL VERSION column is too short. #690
|
||||||
- Add support for resolving absolute path automatically. #493
|
- Add support for resolving absolute path automatically. #493
|
||||||
|
- The network device "OnBoot" parameter correctly configures the ONBOOT ifcfg
|
||||||
|
parameter. (#644)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
@@ -34,6 +36,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
`wwctl --emptyconf genconfig warewulfconf print` for the available paths.
|
`wwctl --emptyconf genconfig warewulfconf print` for the available paths.
|
||||||
- Added experimental dnsmasq support.
|
- Added experimental dnsmasq support.
|
||||||
- Refactored `profile add` command to make it alike `node add`. #658 #659
|
- Refactored `profile add` command to make it alike `node add`. #658 #659
|
||||||
|
- The ifcfg ONBOOT parameter is no longer statically `true`, so unconfigured
|
||||||
|
interfaces may not be enabled by default. (#644)
|
||||||
|
|
||||||
- new subcommand `wwctl genconf` is available with following subcommands:
|
- new subcommand `wwctl genconf` is available with following subcommands:
|
||||||
* `completions` which will create the files used for bash-completion. Also
|
* `completions` which will create the files used for bash-completion. Also
|
||||||
|
|||||||
@@ -24,7 +24,9 @@ HWADDR={{ $netdev.Hwaddr }}
|
|||||||
{{ if $netdev.Type -}}
|
{{ if $netdev.Type -}}
|
||||||
TYPE={{ $netdev.Type }}
|
TYPE={{ $netdev.Type }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
ONBOOT=yes
|
{{ if $netdev.OnBoot -}}
|
||||||
|
ONBOOT={{ $netdev.OnBoot }}
|
||||||
|
{{ end -}}
|
||||||
IPV6INIT=yes
|
IPV6INIT=yes
|
||||||
IPV6_AUTOCONF=yes
|
IPV6_AUTOCONF=yes
|
||||||
IPV6_DEFROUTE=yes
|
IPV6_DEFROUTE=yes
|
||||||
|
|||||||
Reference in New Issue
Block a user