This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cmd:item [2012/04/28 22:40] mcb30 |
cmd:item [2012/04/28 22:41] mcb30 |
||
---|---|---|---|
Line 73: | Line 73: | ||
item --key f fedora Boot (F)edora | item --key f fedora Boot (F)edora | ||
item --key x winxp Boot Windows (X)P | item --key x winxp Boot Windows (X)P | ||
+ | |||
+ | You can specify a menu's default item either by using the ''%%--default%%'' option when creating the menu item with the ''item'' command, or by using the ''%%--default <label>%%'' option when displaying the menu with the ''[[:cmd:choose]]'' command. | ||
If you want your menu separator text to start with dashes, then you must use ''%%--%%'' to prevent iPXE from attempting to interpret your separator text as an option. For example: | If you want your menu separator text to start with dashes, then you must use ''%%--%%'' to prevent iPXE from attempting to interpret your separator text as an option. For example: | ||
item --gap -- ---------------- Advanced configuration ---------------- | item --gap -- ---------------- Advanced configuration ---------------- | ||
- | |||
- | You can specify the menu's default item either by using the ''--default'' option when creating the menu item with the ''item'' command, or by using the ''--default <label>'' option when displaying the menu with the ''[[:cmd:choose]]'' command. | ||
- |