#:CoLo:#
#
# load debian-installer via NFS
#
var args ""
select 'BOOT SELECTION' 50 'install SSH' 'install serial' 'rescue SSH' 'rescue serial'
goto {menu-option}
@var title1 'Starting the'
var title2 'installer (SSH)'
var initrd "ssh_initrd.gz"
goto 4
@var title1 'Starting the'
var title2 'installer (ttyS)'
var initrd "serial_initrd.gz"
goto 3
@var title1 'Starting rescue'
var title2 'mode (SSH)'
var initrd "ssh_initrd.gz"
var args "rescue/enable=true"
goto 2
@var title1 'Starting rescue'
var title2 'mode (serial)'
var initrd "serial_initrd.gz"
var args "rescue/enable=true"
@lcd "{title1}" "{title2}"
nfs {dhcp-next-server} {dhcp-root-path} vmlinux-${KERNELVERSION} {initrd}
relocate
execute rd_start=0x{initrd-start} rd_size=0x{initrd-size} console=ttyS0,{console-speed} {args}
