]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[autoboot] Connect SAN disk during a filename boot, if applicable
authorMichael Brown <mcb30@ipxe.org>
Thu, 27 Jan 2011 18:48:47 +0000 (18:48 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 27 Jan 2011 20:41:27 +0000 (20:41 +0000)
commite088892a81e428aa4982b1c97001a1196d91acb7
tree252e2ca31404c299be9808869f3b6e8ec96114bf
parent962cada830e9b0ce7049a59bef4c33ab01c6161e
[autoboot] Connect SAN disk during a filename boot, if applicable

For performing installations direct to a SAN target, it can be very
useful to hook a SAN disk and then proceed to perform a filename boot.
For example, the user may wish to hook the (empty) SAN installation
disk and then boot into the OS installer via TFTP.  This provides an
alternative mechanism to using "keep-san" and relying on the BIOS to
fall through to boot from the installation media, which is unreliable
on many BIOSes.

When a root-path is specified in addition to a boot filename, attempt
to hook the root-path as a SAN disk before booting from the specified
filename.  Since the root-path may be used for non-SAN purposes
(e.g. an NFS root mount point), ignore the root-path if it contains a
URI scheme that we do not support.

Originally-implemented-by: Jarrod Johnson <jarrod.b.johnson@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/hci/commands/sanboot_cmd.c
src/include/ipxe/errfile.h
src/include/usr/autoboot.h
src/include/usr/imgmgmt.h
src/usr/autoboot.c
src/usr/imgmgmt.c
src/usr/pxemenu.c