Files
warewulf/dracut/modules.d/90wwinit/module-setup.sh
Jonathon Anderson 624631a4d5 Use the wwinit uri built by iPXE during dracut
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-09-05 18:41:18 -04:00

21 lines
332 B
Bash
Executable File

#!/bin/bash
check() {
# Don't include in hostonly mode
[[ $hostonly ]] && return 1
# Don't include by default
return 255
}
depends() {
echo network
return 0
}
install() {
inst_multiple cpio curl
inst_hook cmdline 30 "$moddir/parse-wwinit.sh"
inst_hook pre-mount 30 "$moddir/load-wwinit.sh"
}