wok-current rev 13425

ipxe: update #!pxe script
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 04 10:43:24 2012 +0200 (2012-10-04)
parents 133c385bf64f
children aa1cf82f7d69
files ipxe/receipt
line diff
     1.1 --- a/ipxe/receipt	Thu Oct 04 06:43:16 2012 +0200
     1.2 +++ b/ipxe/receipt	Thu Oct 04 10:43:24 2012 +0200
     1.3 @@ -28,12 +28,38 @@
     1.4  	cat > $fs/boot/ipxe.cmd <<EOT
     1.5  #!ipxe
     1.6  
     1.7 -prompt --key 0x02 --timeout 3000 Press Ctrl-B for the iPXE command line... && goto shell
     1.8  dhcp
     1.9 -chain http://mirror.slitaz.org/pxe/ipxe.php ||
    1.10 -chain http://mirror.switch.ch/ftp/mirror/pxe/ipxe.php ||
    1.11 -chain http://download.tuxfamily.org/slitaz/pxe/ipxe.php
    1.12 -:shell
    1.13 +
    1.14 +:menu
    1.15 +menu SliTaz net boot menu
    1.16 +item lan	Your PXE boot
    1.17 +item web	SliTaz WEB boot
    1.18 +item rolling	SliTaz development version
    1.19 +item config	iPXE configuration
    1.20 +item exit	iPXE command line
    1.21 +choose --default web --timeout 3000 target && goto ${target}
    1.22 +
    1.23 +:exit
    1.24 +help
    1.25  shell
    1.26 +goto menu
    1.27 +
    1.28 +:web
    1.29 +chain http://mirror.slitaz.org/pxe/pxelinux.0
    1.30 +chain http://mirror.switch.ch/ftp/mirror/pxe/pxelinux.0
    1.31 +chain http://download.tuxfamily.org/slitaz/pxe/pxelinux.0
    1.32 +goto menu
    1.33 +
    1.34 +:lan
    1.35 +autoboot
    1.36 +goto menu
    1.37 +
    1.38 +:rolling
    1.39 +sanboot http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso
    1.40 +goto menu
    1.41 +
    1.42 +:config
    1.43 +config
    1.44 +goto menu
    1.45  EOT
    1.46  }