forked from netbootxyz/netboot.xyz-custom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.ipxe
41 lines (35 loc) · 1.07 KB
/
custom.ipxe
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
#!ipxe
###
### netboot.xyz-custom menu example
###
:custom
clear custom_choice
menu This is a Test Menu
item --gap Install
item nixos_plasma ${space} nixos plasma 6 installer
item openbsd ${space} OpenBSD installer
item --gap This is a second sub menu
item option_three ${space} Loads another custom sub menu
item option_four ${space} This is option four
choose custom_choice || goto custom_exit
echo ${cls}
goto ${custom_choice}
goto custom_exit
#:o
#kernel https://mirrors.ircam.fr/pub/OpenBSD/7.5/amd64/bsd.rd
#imgargs vmlinuz put_kernel_img_args_here
#boot || goto custom_exit
:nixos_plasma
kernel https://boot.netboot.xyz/memdisk raw iso
initrd https://channels.nixos.org/nixos-24.05/latest-nixos-plasma6-x86_64-linux.iso
boot || goto custom_exit
:openbsd
kernel https://boot.netboot.xyz/memdisk raw iso
initrd https://mirrors.ircam.fr/pub/OpenBSD/7.5/amd64/install75.img
boot || goto custom_exit
:option_three
echo Chains into another menu...
chain https://raw.githubusercontent.com/${github_user}/netboot.xyz-custom/master/custom1.ipxe || goto custom
:custom_exit
chain utils.ipxe
exit