You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This worked great until we had to support more than one distribution with the same set of boot-servers, so we came up with:
default=0
timeout=3
menuentry "Continue to boot from Local Disk" {
insmod chain
insmod normal
echo "Searching for bootloaders..."
for osname in centos rocky sl rhel; do
echo -n "- $osname... "
if search --no-floppy --set=root --file /EFI/$osname/grubx64.efi; then
echo "Found!"
chainloader /EFI/$osname/grubx64.efi;
break
else
echo
fi
done
echo
echo "Boot will continue in a few seconds..."
}
The example
localboot.cfg
shipped withaii-server
is for PXELinux only. An example for UEFI PXE with grub should be added.This works for me (with chainloading):
The text was updated successfully, but these errors were encountered: