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

syslinux: remove memtest & ipxe entries
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 24 11:14:17 2018 +0100 (2018-02-24)
parents 35a23f513b71
children 0686e05d4ad3
line source
1 #!ipxe
3 set menu-timeout 3000
4 dhcp && isset ${filename} && autoboot ||
5 console --picture http://mirror.slitaz.org/pxe/ipxe/slitaz.png ||
7 :menu
8 menu SliTaz net boot menu
9 item --key b boot Local boot
10 item --gap
11 item --gap Network boot
12 isset ${filename} && item --key l lan Your PXE boot ${filename}
13 item --key w web SliTaz WEB boot
14 item --key r rolling SliTaz development version
15 item --gap
16 item --gap Configuration
17 isset ${ip} || item --key i ipset IP settings
18 item --key c config iPXE configuration
19 item --key e exit iPXE command line
20 choose --timeout ${menu-timeout} --default web target || goto exit
21 set menu-timeout 0
22 isset ${dns} || set dns 8.8.8.8
23 goto ${target}
25 :boot
26 exit
28 :exit
29 help
30 echo Type 'exit' to get the back to the menu
31 shell
32 goto menu
34 :ipset
35 echo -n IP address: && read net0/ip
36 set net0/netmask 255.255.255.0
37 echo -n Subnet mask: ${} && read net0/netmask
38 echo -n Default gateway: && read net0/gateway
39 echo -n DNS server: ${} && read dns
40 goto menu
42 :web
43 isset ${ip} || dhcp || echo No DHCP
44 imgfree
45 set weburl http://mirror.slitaz.org/pxe/
46 chain --autofree ${weburl}ipxe/menu.ipxe && boot ||
47 set weburl http://mirror.switch.ch/ftp/mirror/slitaz/pxe/
48 chain --autofree ${weburl}ipxe/menu.ipxe && boot ||
49 set weburl http://download.tuxfamily.org/slitaz/pxe/
50 chain --autofree ${weburl}ipxe/menu.ipxe && boot ||
51 set weburl http://mirror1.slitaz.org/pxe/
52 chain --autofree ${weburl}ipxe/menu.ipxe && boot ||
53 set weburl http://mirror2.slitaz.org/pxe/
54 chain --autofree ${weburl}ipxe/menu.ipxe && boot ||
55 set weburl http://mirror3.slitaz.org/pxe/
56 chain --autofree ${weburl}ipxe/menu.ipxe && boot ||
57 goto menu
59 :lan
60 isset ${ip} || dhcp || echo No DHCP
61 autoboot ||
62 goto menu
64 :rolling
65 isset ${ip} || dhcp || echo No DHCP
66 sanboot http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso ||
67 goto menu
69 :config
70 config
71 goto menu