[gPXE-devel] gPXE Feature Request: assigning custom commands to execute batch files

Tal Aloni tal.aloni.il at gmail.com
Tue Feb 2 16:09:07 EST 2010


Hi guys,
I'm using gPXE for a year now and I'm loving it, Thanks to all developers involved,
one thing that I'm missing is a way to define my own commands, that will execute gPXE commands / batch scripts.

I happen to test many combination of operating systems / settings,
and it would be much faster to press Ctrl-B and enter Win7G11,
than to enter the whole chain of commands required:
> set gateway 192.168.1.11
> sanboot iscsi:192.168.1.11::::win7

I'm familiar with the menu option, but the number of iscsi targets involved would make it a mess to use a single menu page, I'm also more comfortable with the command line.

One idea I had is to use an embedded script to set a "root-directory" (batch scripts directory),
and then, whenever an unknown-command will be entered, we will chain "root-directory/unknown-command.pxe",
this also requires that we will have a way to abort the embedded script (where we set the root-dir variable) and return to the command line.

if that sounds like too much, I can settle for an "alias" command (alias Win7G11 sanboot iscsi:192.168.1.11::::etc),
again, we can use the embedded script, but we need a way to return to the command line.

Thanks for your time,
Tal Aloni
tal.aloni.il at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://etherboot.org/pipermail/gpxe-devel/attachments/20100202/ff46b755/attachment.html 


More information about the gPXE-devel mailing list