forked from mtds/pxe_srv
-
Notifications
You must be signed in to change notification settings - Fork 1
/
default
54 lines (43 loc) · 1.12 KB
/
default
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!ipxe
# Some menu defaults
set menu-timeout 10000
set submenu-timeout ${menu-timeout}
isset ${menu-default} || set menu-default exit
:start
menu iPXE boot menu for ${initiator-iqn}
item sal Sal's network boot
item centos Kickstart CentOS default installation
item debian Preseed Debian default installation
item --gap -- ------------------------- Advanced options -------------------------------
item --key c config Configure settings [c]
item shell Drop to iPXE shell
item reboot Reboot system
item poweroff Power off system
item
item --key x exit Exit iPXE and continue BIOS boot
choose --timeout ${menu-timeout} --default ${menu-default} selected || goto cancel
set menu-timeout 0
goto ${selected}
:shell
echo Type 'exit' to get the back to the menu
shell
set menu-timeout 0
set submenu-timeout 0
goto start
:reboot
reboot
:poweroff
poweroff
:config
config
goto start
:exit
exit
:archlinux
chain archlinux
:centos
chain centos/7/default
:debian
chain debian/9/default
:sal
sanboot http://boot.salstar.sk/ipxe/ipxe.iso