inital commit
This commit is contained in:
97
menu.ipxe
Normal file
97
menu.ipxe
Normal file
@@ -0,0 +1,97 @@
|
||||
#!ipxe
|
||||
|
||||
# Round up our variables and display on the screen from boot.ipxe.cfg
|
||||
echo Manufacturer: ${manufacturer}
|
||||
echo Platform: ${platform}
|
||||
echo Deployment Server: ${deploysvr}
|
||||
echo TFTP URL: ${tftp-path}
|
||||
echo HTTP URL: ${http-path}
|
||||
|
||||
# console --picture http://${deploysvr}/background.bmp --bottom 90
|
||||
|
||||
:mainmenu
|
||||
menu Technolog iPXE Menu
|
||||
|
||||
item --default exit Boot From Local Hard Disk/Continue BIOS Boot
|
||||
item --gap Main Menu
|
||||
item wds Windows Deployment Services
|
||||
item wdsefi Windows Deployment Services EFI
|
||||
item osmenu Operating Systems
|
||||
item utilmenu System Tools and Utilities
|
||||
# item kbe59 081722 Test [Default x64]
|
||||
|
||||
choose --default exit --timeout 600000 target && goto ${target}
|
||||
|
||||
:exit
|
||||
exit
|
||||
|
||||
:shell
|
||||
shell
|
||||
|
||||
:wds
|
||||
if ${platform} = pcbios {
|
||||
kernel ${tftp-path}\pxeboot.0
|
||||
} elsif ${platform} = efi {
|
||||
# kernel ${tftp-path-efi}\wdsmgfw.efi
|
||||
chain --replace --autofree ${tftp-path}\wdsmgfw.efi
|
||||
}
|
||||
boot
|
||||
|
||||
:wdsefi
|
||||
chain --replace --autofree ${tftp-path}\wdsmgfw.efi
|
||||
boot
|
||||
|
||||
:osmenu
|
||||
# Operating Systems Menu
|
||||
menu Operating Systems Menu
|
||||
item --gap Operating Systems Menu
|
||||
item mainmenu <--- Back
|
||||
item debinst12 Debian 12 Installer
|
||||
item debinst11 Debian 11 Installer
|
||||
item fedoralatest Fedora Installer Latest (39) 64-bit
|
||||
item arch64 Arch Linux x64
|
||||
# item deblive Debian Live System
|
||||
|
||||
|
||||
choose --default debinst12 --timeout 600000 target && goto ${target}
|
||||
|
||||
:debinst12
|
||||
kernel ${tftp-path}\debian\linux
|
||||
initrd ${tftp-path}\debian\initrd.gz
|
||||
boot
|
||||
|
||||
:debinst11
|
||||
kernel ${tftp-path}\debian\11linux
|
||||
initrd ${tftp-path}\debian\11initrd.gz
|
||||
boot
|
||||
|
||||
:deblive
|
||||
kernel ${tftp-path}\debian\live-vmlinuz
|
||||
initrd ${tftp-path}\debian\live-initrd.img
|
||||
boot
|
||||
|
||||
:fedoralatest
|
||||
kernel ${tftp-path}\fedora\39vmlinuz initrd=39initrd.img inst.stage2=https://download.fedoraproject.org/pub/fedora/linux/releases/39/Server/x86_64/os/
|
||||
initrd ${tftp-path}\fedora\39initrd.img
|
||||
boot
|
||||
|
||||
:arch64
|
||||
kernel ${tftp-path}\arch\x86_64\vmlinuz-linux archisobasedir=arch archiso_http_srv=${http-path}/isosrc/arch/ cms_verify=y
|
||||
initrd ${tftp-path}\arch\intel-ucode.img
|
||||
initrd ${tftp-path}\arch\amd-ucode.img
|
||||
initrd ${tftp-path}\arch\x86_64\initramfs-linux.img
|
||||
boot
|
||||
|
||||
### Utilities
|
||||
:utilmenu
|
||||
menu System Tools and Utilities
|
||||
item --gap System Tools and Utilities
|
||||
item mainmenu <--- Back
|
||||
item gparted gParted Live Debian Image
|
||||
|
||||
choose --default gparted --timeout 600000 target && goto ${target}
|
||||
|
||||
:gparted
|
||||
kernel ${tftp-path}\gparted\vmlinuz boot=live config components union=overlay username=technolog noswap noeject fetch=${http-path}/isosrc/gparted.squashfs
|
||||
initrd ${tftp-path}\gparted\initrd.img
|
||||
boot
|
Reference in New Issue
Block a user