From 130cf9a7f60c06629a21b51c99a08c4fb2749d19 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 15 Feb 2007 13:07:49 -0500 Subject: Temporary menu support hack to work around menu.c32 timeout problems. User can type "menu" at the prompt to get a menu, or they can type "local" (or just wait 20 seconds) for a local boot. Once the user starts typing, the absolute timeout is 10 minutes, ensuring a machine doesn't get left at the menu screen. All of this will probably be user configurable later. --- cobbler/action_sync.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py index 502c879..ebf5a91 100644 --- a/cobbler/action_sync.py +++ b/cobbler/action_sync.py @@ -570,11 +570,11 @@ class BootSync: fname = os.path.join(self.settings.tftpboot, "pxelinux.cfg", "default") defaults = open(fname, "w") - defaults.write("DEFAULT menu.c32\n") - defaults.write("PROMPT 0\n") + defaults.write("DEFAULT local\n") + defaults.write("PROMPT 1\n") defaults.write("MENU TITLE Cobbler | http://cobbler.et.redhat.com\n") defaults.write("TIMEOUT 200\n") - defaults.write("TOTALTIMEOUT 600\n") + defaults.write("TOTALTIMEOUT 6000\n") defaults.write("ONTIMEOUT local\n") defaults.write("\n") defaults.write("LABEL local\n") -- cgit