diff options
| author | Michael Brown | 2012-03-29 01:05:22 +0200 |
|---|---|---|
| committer | Michael Brown | 2012-03-29 15:02:02 +0200 |
| commit | 3425726cf33c2af84c9737a2501cd39517e42cdb (patch) | |
| tree | b08cd61419fad6e16de7e9329d91540e99a6a980 /src/include/ipxe/features.h | |
| parent | [menu] Add menu user interface (diff) | |
| download | ipxe-3425726cf33c2af84c9737a2501cd39517e42cdb.tar.gz ipxe-3425726cf33c2af84c9737a2501cd39517e42cdb.tar.xz ipxe-3425726cf33c2af84c9737a2501cd39517e42cdb.zip | |
[menu] Add menu commands
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 <robin@smidsrod.no>
Tested-by: Robin Smidsrød <robin@smidsrod.no>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/features.h')
| -rw-r--r-- | src/include/ipxe/features.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/features.h b/src/include/ipxe/features.h index 660015cd2..498ec9441 100644 --- a/src/include/ipxe/features.h +++ b/src/include/ipxe/features.h @@ -52,6 +52,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); #define DHCP_EB_FEATURE_EFI 0x24 /**< EFI format */ #define DHCP_EB_FEATURE_FCOE 0x25 /**< FCoE protocol */ #define DHCP_EB_FEATURE_VLAN 0x26 /**< VLAN support */ +#define DHCP_EB_FEATURE_MENU 0x27 /**< Menu support */ /** @} */ |
