Skip wwinit module if not root=wwinit*

Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
This commit is contained in:
Timothy Middelkoop
2025-11-11 15:32:24 -06:00
committed by Jonathon Anderson
parent a16d92f56e
commit e55098cb5b
2 changed files with 3 additions and 0 deletions

View File

@@ -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
- Use device names in netplan bonds. #2013
- 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

View File

@@ -1,5 +1,7 @@
#!/bin/bash
[ -z "${wwinit_root_device}" ] && return 0
get_stage() {
stage="${1}"
info "warewulf: loading stage: ${stage}"