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

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