2
0
mirror of https://github.com/xcat2/xNBA.git synced 2025-08-22 11:10:25 +00:00
Files
xNBA/src/include
Michael Brown b2332d5118 [prefix] Allow iPXE's own command line to be executed as a script
Some prefixes (e.g. .lkrn) allow a command line to be passed in to
iPXE.  At present, this command line is ignored.

If a command line is provided, treat it as an embedded script (without
an explicit "#!ipxe" magic marker).  This allows for patterns of
invocation such as

  title  iPXE
  kernel /boot/ipxe.lkrn dhcp && \
         sanboot iscsi:10.0.4.1::::iqn.2010-04.org.ipxe.dolphin:storage

Here GRUB is instructed to load ipxe.lkrn with an embedded script
equivalent to

  #!ipxe
  dhcp
  sanboot iscsi:10.0.4.1::::iqn.2010-04.org.ipxe.dolphin:storage

This can be used to effectively vary the embedded script without
having to rebuild ipxe.lkrn.

Originally-implemented-by: Dave Hansen <dave@sr71.net>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2011-03-07 22:28:31 +00:00
..
2010-04-19 23:43:39 +01:00
2006-09-11 17:54:19 +00:00
2005-03-08 18:53:11 +00:00
2005-03-08 18:53:11 +00:00
2005-03-08 18:53:11 +00:00
2010-08-17 14:44:27 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2005-03-08 18:53:11 +00:00
2010-04-19 23:43:39 +01:00
2005-03-08 18:53:11 +00:00
2005-03-08 18:53:11 +00:00
2007-07-14 15:42:26 +01:00
2010-08-19 12:22:07 +01:00
2005-03-08 18:53:11 +00:00
2010-04-19 23:43:39 +01:00