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

Up ipxe (1.0.0-20160119)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 19 22:25:38 2016 +0100 (2016-01-19)
parents 1019443a6c35
children 962c4700fe2b
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 chain --autofree ${weburl}ipxe/menu.ipxe && boot ||
31 set 210:string ${weburl} && chain ${weburl}pxelinux.0 && boot ||
32 set weburl http://mirror.switch.ch/ftp/mirror/slitaz/pxe/
33 chain --autofree ${weburl}ipxe/menu.ipxe && boot ||
34 set 210:string ${weburl} && chain ${weburl}pxelinux.0 && boot ||
35 set weburl http://download.tuxfamily.org/slitaz/pxe/
36 chain --autofree ${weburl}ipxe/menu.ipxe && boot ||
37 set 210:string ${weburl} && chain ${weburl}pxelinux.0 && boot ||
38 goto menu
40 :lan
41 autoboot ||
42 goto menu
44 :rolling
45 sanboot http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso ||
46 goto menu
48 :config
49 config
50 goto menu