Skip to content

Commit 7b8e1f6

Browse files
committed
grub.cfg: drop set pager=1
This was in the very first commit that added a GRUB config to this repo. If set, it causes GRUB to pause output if the screen is full of messages until the user presses a key. That's just incompatible with automation, so nuke it. Any warnings from GRUB should end up in the serial console logs still. One way this can happen is if booting from multipath. GRUB tries each path in turn until it can read from it. For each tried path that's non- optimized, it'll log a message. So if the device has a large enough number of paths, we can trigger the pager functionality and hang boot. Probably fixes: https://issues.redhat.com/browse/OCPBUGS-20123
1 parent df699b8 commit 7b8e1f6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/grub.cfg

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
set pager=1
21
# petitboot doesn't support -e and doesn't support an empty path part
32
if [ -d (md/md-boot)/grub2 ]; then
43
# fcct currently creates /boot RAID with superblock 1.0, which allows

0 commit comments

Comments
 (0)