-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathonline.ipxe
60 lines (54 loc) · 1.4 KB
/
online.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!ipxe
:custom
# notfound: cpair --foreground 7 --background 1 0
clear custom_choice
menu ${net0.dhcp/filename} ${net0/filename} ${filename} ipxeromeu.lkrn netbootxyzcustomeipxe
item --gap client=${net0/ip} ns=${next-server} dhcp=${net0.dhcp/ip} gw=${net0.gateway/ip}
item core core.iso 11mb
item tinycore tinycore.iso 16mb
item coreplus coreplus.iso 106mb
item docker boot2docker.isop 45mb
item reboot reboot
item poweroff poweroff
item config config
item cpuid cpuid
item shell shell
choose --default docker --timeout 9000 custom_choice || goto custom_exit
echo online.ipxe ...
:core
dhcp
echo core.iso...
kernel https://boot.netboot.xyz/memdisk raw iso
initrd http://tinycorelinux.net/10.x/x86/release/Core-current.iso
boot || goto custom_exit
:tinycore
dhcp
kernel https://boot.netboot.xyz/memdisk raw iso
initrd http://tinycorelinux.net/10.x/x86/release/TinyCore-current.iso
boot || goto custom_exit
:coreplus
dhcp
kernel https://boot.netboot.xyz/memdisk raw iso
initrd https://github.com/boot2docker/boot2docker/releases/download/v19.03.2-rc1/boot2docker.iso
boot || goto custom_exit
:docker
dhcp
echo docker.iso ...
kernel https://boot.netboot.xyz/memdisk raw iso
initrd http://tinycorelinux.net/10.x/x86/release/Core-current.iso
boot || goto custom_exit
:reboot
reboot
:poweroff
poweroff
:config
config
:cpuid
cpuid
:shell
shell
:custom_exit
echo custom_exit
echo exiting ipxe
#chain utils.ipxe
#exit