- 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>
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
{{ file (print .Tftp.TftpRoot "/warewulf/grub.cfg") }}
|
|
# This file is autogenerated by warewulf
|
|
# Host: {{ .BuildHost }}
|
|
# Time: {{ .BuildTime }}
|
|
# Source: {{ .BuildSource }}
|
|
echo "================================================================================"
|
|
echo "Warewulf v4 now iXPE booting with grub"
|
|
echo "================================================================================"
|
|
smbios --type 3 --get-string 8 --set assetkey
|
|
set timeout=2
|
|
# Must chainload in order to get kernel args for specific node
|
|
menuentry "Load specific configfile" {
|
|
conf="(http,{{.Ipaddr}}:{{.Warewulf.Port}})/grub/${net_default_mac}?assetkey=${assetkey}"
|
|
configfile $conf
|
|
}
|
|
menuentry "Chainload shim from image" {
|
|
shim="(http,{{.Ipaddr}}:{{.Warewulf.Port}})/efiboot/shim.efi?wwid=${net_default_mac}&assetkey=${assetkey}"
|
|
chainloader ${shim}
|
|
}
|
|
menuentry "UEFI Firmware Settings" --id "uefi-firmware" {
|
|
fwsetup
|
|
}
|
|
menuentry "System restart" {
|
|
echo "System rebooting..."
|
|
reboot
|
|
}
|
|
menuentry "System shutdown" {
|
|
echo "System shutting down..."
|
|
halt
|
|
}
|