Merge pull request #1839 from anderbubble/grub-sleep

Add indicated sleep and reboot during grub boot
This commit is contained in:
Jonathon Anderson
2025-03-25 21:01:27 -06:00
committed by GitHub
2 changed files with 13 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- assume ipxe template=default if not set. #1808, #1813
- Display a warning during overlay build if an overlay list is empty. #1808
- Fix processing of UNDEF and UNSET during `wwctl <node|profile> set`. #1837
- Actually cause grub to sleep and reboot when log messages indiacte. #1838
### Changed

View File

@@ -58,6 +58,8 @@ menuentry "Single-stage boot" --id single-stage {
echo "!! Unable to load kernel."
echo "!! Rebooting in 15s..."
echo "!!"
sleep 15
reboot
fi
echo "Downloading images..."
@@ -71,6 +73,8 @@ menuentry "Single-stage boot" --id single-stage {
echo "!! Unable to load images."
echo "!! Rebooting in 15s..."
echo "!!"
sleep 15
reboot
fi
echo "Booting..."
@@ -101,6 +105,8 @@ menuentry "Single-stage boot (no compression)" --id single-stage-nocompress {
echo "!! Unable to load kernel."
echo "!! Rebooting in 15s..."
echo "!!"
sleep 15
reboot
fi
echo "Downloading images..."
@@ -114,6 +120,8 @@ menuentry "Single-stage boot (no compression)" --id single-stage-nocompress {
echo "!! Unable to load images."
echo "!! Rebooting in 15s..."
echo "!!"
sleep 15
reboot
fi
echo "Booting..."
@@ -151,6 +159,8 @@ menuentry "Two stage boot with dracut" --id dracut {
echo "!! Unable to load kernel."
echo "!! Rebooting in 15s..."
echo "!!"
sleep 15
reboot
fi
echo "Downloading initramfs..."
@@ -161,6 +171,8 @@ menuentry "Two stage boot with dracut" --id dracut {
echo "!! Unable to load initramfs."
echo "!! Rebooting in 15s..."
echo "!!"
sleep 15
reboot
fi
echo "Booting..."