Add indicated sleep and reboot during grub boot

- Closes: #1791

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2025-03-24 17:34:39 -06:00
parent dc77443077
commit f65be064ad
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 - assume ipxe template=default if not set. #1808, #1813
- Display a warning during overlay build if an overlay list is empty. #1808 - 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 - 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 ### Changed

View File

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