summaryrefslogtreecommitdiffstats
path: root/server/ipxe/main.ipxe
blob: f77e58df0d491840d399033398913bd2bb8ac9cb (plain) (blame)
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
#!ipxe
dhcp

# Wallpaper
set img http://christophermckinney.net/wp-content/uploads/2017/08/Wallpaper.png
console --picture ${img} --x 800 --y 600

:start
menu Please choose a webserver to load the ipxe menu:
item js Jannik
item uw Udo
item ch Chris
item sh [Shell]
choose target && goto ${target}

:js
set crosscert http://ca.ipxe.org/auto/
chain --replace https://bas.stfu-kthx.net:8888/api/ipxe/load/script ||
goto start
:uw
chain http://10.4.9.115/boot.php ||
goto start
:ch
chain http://10.4.9.122/boot.php ||
goto start
:sh
shell ||
goto start