Merge pull request #2066 from middelkoopt/tm-wwinit
Skip wwinit module if not root=wwinit*
This commit is contained in:
@@ -41,6 +41,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
- Fix "address already in use" in `wwclient` when `secure: true`. #2009
|
- Fix "address already in use" in `wwclient` when `secure: true`. #2009
|
||||||
- Use device names in netplan bonds. #2013
|
- Use device names in netplan bonds. #2013
|
||||||
- Fix ImageDelete API not returning error when checking if image is used by nodes/profiles
|
- Fix ImageDelete API not returning error when checking if image is used by nodes/profiles
|
||||||
|
- Fix warewulf-dracut to not run the wwinit module if root is not set to `root=wwclient*`
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
[ -z "${wwinit_root_device}" ] && return 0
|
||||||
|
|
||||||
get_stage() {
|
get_stage() {
|
||||||
stage="${1}"
|
stage="${1}"
|
||||||
info "warewulf: loading stage: ${stage}"
|
info "warewulf: loading stage: ${stage}"
|
||||||
|
|||||||
Reference in New Issue
Block a user