-
Notifications
You must be signed in to change notification settings - Fork 0
/
boot.cfg
52 lines (44 loc) · 1.1 KB
/
boot.cfg
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
#!ipxe
# set location of latest iPXE
iseq ${platform} efi && set ipxe_disk snponly.efi || set ipxe_disk undionly.kpxe
:mirrors
### ELRepo
set elrepo_mirror https://ftp.osuosl.org/pub/elrepo
### AlmaLinux
set almalinux_mirror http://cvo.almalinux.osuosl.org
### Debian
set debian_mirror http://cvo.debian.osuosl.org
set debian_base_dir debian
:architectures
iseq ${arch} i386 && goto i386 ||
iseq ${arch} x86_64 && goto x86_64 ||
iseq ${arch} arm64 && goto arm64 ||
goto architectures_end
:x86_64
iseq ${platform} efi && goto efi ||
goto architectures_end
:i386
iseq ${platform} efi && goto efi ||
goto architectures_end
:arm64
iseq ${platform} efi && goto efi ||
goto architectures_end
:efi
goto architectures_end
:architectures_end
goto metal
:metal
iseq ${arch} i386 && goto metal_x86_64 ||
iseq ${arch} x86_64 && goto metal_x86_64 ||
iseq ${arch} arm64 && goto metal_arm64 ||
goto end
:metal_x86_64
set cmdline console=ttyS1,115200n8
iseq ${platform} efi && set ipxe_disk snp.efi || set ipxe_disk undionly.kpxe
goto end
:metal_arm64
set cmdline console=ttyAMA0,115200
set ipxe_disk snp-arm64.efi
goto end
:end
exit