wok view ipxe/stuff/ipxe.cmd @ rev 15385

ipxe: add local boot
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 26 10:44:25 2013 +0000 (2013-10-26)
parents db33cd473e3e
children c0ad10db4140
line source
1 #!ipxe
3 set menu-timeout 3000
4 dhcp ||
6 :menu
7 menu SliTaz net boot menu
8 item --key b boot Local boot
9 item --key l lan Your PXE boot
10 item --key w web SliTaz WEB boot
11 item --key r rolling SliTaz development version
12 item --key c config iPXE configuration
13 item --key e exit iPXE command line
14 choose --timeout ${menu-timeout} --default web target || goto exit
15 set menu-timeout 0
16 goto ${target}
18 :boot
19 exit
21 :exit
22 help
23 echo Type 'exit' to get the back to the menu
24 shell
25 goto menu
27 :web
28 imgfree
29 set weburl http://mirror.slitaz.org/pxe/
30 set 210:string ${weburl} && chain ${weburl}pxelinux.0 && boot ||
31 set weburl http://mirror.switch.ch/ftp/mirror/slitaz/pxe/
32 set 210:string ${weburl} && chain ${weburl}pxelinux.0 && boot ||
33 set weburl http://download.tuxfamily.org/slitaz/pxe/
34 set 210:string ${weburl} && chain ${weburl}pxelinux.0 && boot ||
35 goto menu
37 :lan
38 autoboot ||
39 goto menu
41 :rolling
42 sanboot http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso ||
43 goto menu
45 :config
46 config
47 goto menu