From 29accaa49477bfd2ee99b7cff296da5f45c15a62 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 25 Sep 2025 10:09:25 -0400 Subject: [PATCH] Change grub to not prompt Sometimes grub can get stuck unexpectedly waiting for interaction. Try to get away from this by default by setting the timeout to 0. --- confluent_server/confluent/osimage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/osimage.py b/confluent_server/confluent/osimage.py index c0f3b605..4d7838a5 100644 --- a/confluent_server/confluent/osimage.py +++ b/confluent_server/confluent/osimage.py @@ -210,7 +210,7 @@ def update_boot_linux(profiledir, profile, label): needefi = True lincmd = 'linuxefi' if needefi else 'linux' initrdcmd = 'initrdefi' if needefi else 'initrd' - grubcfg = "set timeout=5\nmenuentry '" + grubcfg = "set timeout=0\nhiddenmenu\nmenuentry '" grubcfg += label grubcfg += "' {\n " + lincmd + " /kernel " + kernelargs + "\n" initrds = []