Add indicated sleep and reboot during grub boot
- Closes: #1791 Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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..."
|
||||||
|
|||||||
Reference in New Issue
Block a user