wok-current view ipxe/stuff/ipxe.cmd @ rev 15368

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