====== Create menu ====== ===== Synopsis ===== menu [--name ] [--delete] [] ===== Examples ===== === Create and display a simple menu === menu Please choose an operating system to boot item fedora Fedora Linux item win7 Windows 7 choose os === Create a named menu === menu --name iscsi Select iSCSI target === Delete a named menu === menu --name iscsi --delete ===== Description ===== Create a menu with the specified name and title. If no name is specified, the default (unnamed) menu will be created. If the ''%%--delete%%'' option is specified, the menu will be deleted. ===== Command status ===== ^ Success | The menu was successfully created | ^ Failure | The menu was not successfully created | ===== See also ===== * ''[[:cmd:item]]'' * ''[[:cmd:choose]]'' * iPXE [[:scripting|scripting]] guide * [[:cmd|List of all iPXE commands]] ===== Notes ===== Menus are automatically deleted by the ''[[:cmd:choose]]'' command. You do not generally need to explicitly delete a menu.