Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
is there a shortcut key to edit iPXE menu entry like PXElinux's "TAB" key
2016-07-12, 06:19
Post: #1
Question is there a shortcut key to edit iPXE menu entry like PXElinux's "TAB" key
Hi,

Is there a shortcut key to edit iPXE menu entry like PXElinux's "TAB" key.

When I use PXElinux boot, I could test kernel options by edit the PXE boot menu entry.

But I can not find a shortcut key to edit iPXE menu like PXElinux.

thx
Find all posts by this user
Quote this message in a reply
2016-08-02, 19:08
Post: #2
RE: is there a shortcut key to edit iPXE menu entry like PXElinux's "TAB" key
There is no way to edit commands in iPXE, mostly due to that it uses a scripting language, and there is no mapping between "a menu entry" and a "boot command" (isseq are used in most cases together with goto) most boots are done by multiple lines so does not make much sense.

For the particular use case you could use the read command to emulate this behavior. maybe in combination with prompt to get a timeout.

maybe something like this
Code:
set extracmd keymap=us
echo -n commandline && read extracmd
kernel ..... ${extracmd}

Read FAQ before first post!
Are relevant ipxe.org error urls and PCIIDs included?
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)