From 3425726cf33c2af84c9737a2501cd39517e42cdb Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 29 Mar 2012 00:05:22 +0100 Subject: [menu] Add menu commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allow iPXE scripts to create menus. For example: #!ipxe menu iSCSI boot demonstration item install Install Fedora to ${root-path} item --default boot Boot from ${root-path} item shell Enter iPXE shell item exit Exit to BIOS choose label && goto ${label} :boot sanboot ${root-path} :install sanhook ${root-path} chain http://${next-server}/fedora.ipxe :shell shell :exit Inspired-by: Robin Smidsrød Tested-by: Robin Smidsrød Signed-off-by: Michael Brown --- src/config/general.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/config/general.h') diff --git a/src/config/general.h b/src/config/general.h index a10696ee7..70742165c 100644 --- a/src/config/general.h +++ b/src/config/general.h @@ -119,6 +119,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); #define IMAGE_CMD /* Image management commands */ #define DHCP_CMD /* DHCP management commands */ #define SANBOOT_CMD /* SAN boot commands */ +#define MENU_CMD /* Menu commands */ #define LOGIN_CMD /* Login command */ //#define TIME_CMD /* Time commands */ //#define DIGEST_CMD /* Image crypto digest commands */ -- cgit