ISO/archiso/install/archiso_pxe_nbd
Gerardo Exequiel Pozzi 1edaf15cef [archiso] Split archiso_pxe_nbd in two hooks.
One hook only setup the network device (archiso_pxe_common) the other
setup the NBD client (archiso_pxe_nbd).

New bootparam:
    archiso_pxe_srv=IP
        Allow to set an IP different from the PXE server.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-11-28 12:28:03 -03:00

20 lines
329 B
Bash

# vim: set ft=sh:
build ()
{
MODULES="nbd"
BINARIES=""
FILES=""
SCRIPT="archiso_pxe_nbd"
add_binary "/usr/sbin/nbd-client" "/bin/nbd-client"
add_file "/lib/initcpio/archiso_pxe_nbd" "/archiso_pxe_nbd"
}
help ()
{
cat<<HELPEOF
This hook loads the necessary modules for boot via PXE and NBD.
HELPEOF
}