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
[email protected]
_______________________________________________
gPXE-devel mailing list
[email protected]
http://etherboot.org/mailman/listinfo/gpxe-devel

Reply via email to