Red Hat Bugzilla – Bug 995591
ipxe: can't run shell from menu
Last modified: 2014-03-10 08:12:01 EDT
Description of problem:
When my guests boot from the network, I show them a menu, which is an ipxe script.
One of the menu options is an option to escape to the shell prompt:
item shell Drop to iPXE shell
echo Type exit to get back to the menu
This works fine with upstream ipxe, but it doesn't in Fedora.
Apparently disabling the 2 second banner timeout completely disables the shell.
I have been able to workaround this by modifying the patch:
diff -rup gpxe-1.0.1.orig/src/config/general.h gpxe-1.0.1.new/src/config/general.h
--- gpxe-1.0.1.orig/src/config/general.h 2010-06-29 20:31:33.000000000 +0100
+++ gpxe-1.0.1.new/src/config/general.h 2012-03-19 11:53:36.035138977 +0000
@@ -31,7 +31,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
* Timer configuration
-#define BANNER_TIMEOUT 20 /* Tenths of a second for which the shell
+#define BANNER_TIMEOUT 1 /* Tenths of a second for which the shell
banner should appear */
Version-Release number of selected component (if applicable):
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.
More information and reason for this action is here:
I'm guessing this is another instance of bug 842932, which is fixed in ipxe-20140303-1.gitff1e7fc7.fc20. Ruben, can you confirm if that update fixes things for you?
Thanks, I'll get back when I've checked that update.
I'll have to find a host to reproduce this on, so it can take a few days.
Thanks Ruben. Since I'm pretty sure this is fixed in the update, I'll just close as NEXTRELEASE. if/when you get a chance to confirm, please reopen if the issue persists.
I will, thanks!