forked from rjocoleman/netboot.xyz-custom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.ipxe
78 lines (65 loc) · 2.09 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!ipxe
# Proxmox Open Source Products
# https://www.proxmox.com
goto ${menu} ||
:proxmox
clear proxmox_choice
clear proxmox_version
set os Proxmox
menu ${os}
item --gap ${os} Backup Server
item pbs-normal ${space} ${os} Backup Server 3.0-1
item pbs-debug ${space} ${os} Backup Server 3.0-1 (Debug)
item --gap ${os} Mail Gateway
item pmg-normal ${space} ${os} Mail Gateway 8.0-1
item pmg-debug ${space} ${os} Mail Gateway 8.0-1 (Debug)
item --gap ${os} VE
item pve-normal ${space} ${os} VE 8.0-2
item pve-debug ${space} ${os} VE 8.0-2 (Debug)
choose proxmox_choice || goto proxmox_exit
goto ${proxmox_choice}
:pve-normal
set params splash=silent
goto boot-pve
:pve-debug
set params splash=verbose proxdebug
goto boot-pve
:pmg-normal
set params splash=silent
goto boot-pmg
:pmg-debug
set params splash=verbose proxdebug
goto boot-pmg
:pbs-normal
set params splash=silent
goto boot-pbs
:pbs-debug
set params splash=verbose proxdebug
goto boot-pbs
:boot-pbs
set kernel_url ${live_endpoint}/asset-mirror/releases/download/3.0-1-09769528/
set proxmox_version 2.3-1
imgfree
kernel ${kernel_url}vmlinuz vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216 rw quiet ${params} initrd=initrd.magic ${cmdline}
initrd ${kernel_url}initrd
initrd https://enterprise.proxmox.com/iso/proxmox-backup-server_${proxmox_version}.iso /proxmox.iso
boot
:boot-pmg
set kernel_url ${live_endpoint}/asset-mirror/releases/download/7.3-1-5c9b0cd6/
set proxmox_version 7.2-1
imgfree
kernel ${kernel_url}vmlinuz vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216 rw quiet ${params} initrd=initrd.magic ${cmdline}
initrd ${kernel_url}initrd
initrd https://enterprise.proxmox.com/iso/proxmox-mailgateway_${proxmox_version}.iso /proxmox.iso
boot
:boot-pve
set kernel_url ${live_endpoint}/asset-mirror/releases/download/8.0-2-9402a564/
set proxmox_version 8.0-2
imgfree
kernel ${kernel_url}vmlinuz vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216 rw quiet ${params} initrd=initrd.magic ${cmdline}
initrd ${kernel_url}initrd
initrd https://enterprise.proxmox.com/iso/proxmox-ve_${proxmox_version}.iso /proxmox.iso
boot
:proxmox_exit
clear menu
exit 0