Update dracut scripts, iPXE template, and GRUB config templates

- Update dracut scripts, iPXE template, and GRUB config templates to
  use new route paths and TLS-aware logic
- Minor troubleshooting doc cleanup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2026-03-06 11:39:06 -07:00
committed by Christian Goll
parent b40c379550
commit 0133a3eb46
7 changed files with 87 additions and 48 deletions

View File

@@ -7,12 +7,13 @@ case "${root}" in
wwinit|wwinit:*)
info "warewulf: root=${root}"
export wwinit_server="$(getarg wwinit.server)"
export wwinit_uri="$(getarg wwinit.uri)"
if [ -n "${wwinit_uri}" ]; then
info "warewulf: Found root=${root} and wwinit.uri=${wwinit_uri}. Will boot from Warewulf."
if [ -n "${wwinit_server}" ] || [ -n "${wwinit_uri}" ]; then
info "warewulf: Found root=${root} and wwinit.server=${wwinit_server} wwinit.uri=${wwinit_uri}. Will boot from Warewulf."
rootok=1
else
die "warewulf: Found root=${root} but no wwinit.uri. Cannot boot from Warewulf."
die "warewulf: Found root=${root} but neither wwinit.server nor wwinit.uri. Cannot boot from Warewulf."
fi
export wwinit_uuid=$(dmidecode -s system-uuid)