Intial commit
This commit is contained in:
114
iPXE/LDS.ipxe
Normal file
114
iPXE/LDS.ipxe
Normal file
@@ -0,0 +1,114 @@
|
||||
#!ipxe
|
||||
|
||||
#Vars
|
||||
#Linux Installer menu selector
|
||||
#Use "LinuxInstallers-LID.ipxe" for stored boot images (using LDS-UpdateBootImages)
|
||||
#Or Use "LinuxInstallers.ipxe" for online boot images
|
||||
set LDSIMenu LinuxInstallers.ipxe
|
||||
|
||||
###################### MAIN MENU ####################################
|
||||
|
||||
:start
|
||||
menu Linux Depolyment server - Main
|
||||
item MenuLinuxTools Tools -->
|
||||
item MenuLinuxInstallers Installers -->
|
||||
#item MenuLinuxCustomInstallers Custom Installers -->
|
||||
|
||||
|
||||
choose --timeout ${menu-timeout} --default ${menu-default} selected || goto cancel
|
||||
set menu-timeout 0
|
||||
goto ${selected}
|
||||
|
||||
:cancel
|
||||
echo You cancelled the menu, dropping you to a shell
|
||||
|
||||
:shell
|
||||
echo Type 'exit' to get the back to the menu
|
||||
shell
|
||||
set menu-timeout 0
|
||||
set submenu-timeout 0
|
||||
goto startinitrd
|
||||
|
||||
:failed
|
||||
echo Booting failed, dropping to shell
|
||||
goto shell
|
||||
|
||||
|
||||
#Linux Installer menu
|
||||
:MenuLinuxInstallers
|
||||
chain ${LDSIMenu}
|
||||
boot
|
||||
|
||||
###################### Linux Custom Installer menu ####################################
|
||||
:MenuLinuxCustomInstallers
|
||||
menu Linux menu Linux Depolyment server - Custom installers
|
||||
item CustomInstallPlaceHolder Place Holder
|
||||
|
||||
item
|
||||
item start Back to the main menu <--
|
||||
choose --timeout ${menu-timeout} --default ${menu-default} selected || goto cancel
|
||||
set menu-timeout 0
|
||||
goto ${selected}
|
||||
|
||||
:CustomInstallPlaceHolder
|
||||
kernel
|
||||
initrd
|
||||
boot
|
||||
|
||||
###################### Linux Tool menu ####################################
|
||||
:MenuLinuxTools
|
||||
menu Linux Depolyment server - Tools
|
||||
#item CloneZilla CloneZilla
|
||||
#item GParted GParted
|
||||
#item SystemRescueCD SystemRescueCD x64
|
||||
#item PartedMagic32 Parted Magic x86
|
||||
#item PartedMagic64 Parted Magic x64
|
||||
#item AcronisTrueImage32 Acronis True Image x86
|
||||
#item AcronisTrueImage64 Acronis True Image x64
|
||||
|
||||
item
|
||||
item start Back to the main menu <--
|
||||
choose --timeout ${menu-timeout} --default ${menu-default} selected || goto cancel
|
||||
set menu-timeout 0
|
||||
goto ${selected}
|
||||
|
||||
:CloneZilla
|
||||
kernel http://${next-server}/Tools/CloneZilla/vmlinuz initrd=initrd.img boot=live username=user union=overlay config components noswap edd=on nomodeset nodmraid locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=http://${next-server}/Tools/CloneZilla/filesystem.squashfs
|
||||
initrd http://${next-server}/Tools/CloneZilla/initrd.img
|
||||
boot
|
||||
|
||||
:GParted
|
||||
kernel http://${next-server}/Tools/Gparted/vmlinuz initrd=initrd.img boot=live config components union=overlay username=user noswap noeject fetch=http://${next-server}/Tools/Gparted/filesystem.squashfs
|
||||
initrd http://${next-server}/Tools/Gparted/initrd.img
|
||||
boot
|
||||
|
||||
:PartedMagic64
|
||||
kernel http://${next-server}/Tools/PartedMagic/bzImage64 initrd=initrd.img initrd=PMAGIC_2013_08_01.SQFS.cgz edd=off load_ramdisk=1 prompt_ramdisk=0 rw loglevel=9 max_loop=256
|
||||
initrd http://${next-server}/Tools/PartedMagic/initrd.img
|
||||
initrd http://${next-server}/Tools/PartedMagic/PMAGIC_2013_08_01.SQFS.cgz
|
||||
boot
|
||||
|
||||
:PartedMagic32
|
||||
kernel http://${next-server}/Tools/PartedMagic/bzImage initrd=initrd.img initrd=PMAGIC_2013_08_01.SQFS.cgz edd=off load_ramdisk=1 prompt_ramdisk=0 rw loglevel=9 max_loop=256
|
||||
initrd http://${next-server}/Tools/PartedMagic/initrd.img
|
||||
initrd http://${next-server}/Tools/PartedMagic/PMAGIC_2013_08_01.SQFS.cgz
|
||||
boot
|
||||
|
||||
:AcronisTrueImage64
|
||||
kernel http://${next-server}/Tools/AcronisTrueImage/dat10.dat force_modules=usbhid quiet
|
||||
initrd http://${next-server}/Tools/AcronisTrueImage/dat11.dat
|
||||
initrd http://${next-server}/Tools/AcronisTrueImage/dat12.dat
|
||||
boot
|
||||
|
||||
:AcronisTrueImage32
|
||||
kernel http://${next-server}/Tools/AcronisTrueImage/dat2.dat force_modules=usbhid quiet
|
||||
initrd http://${next-server}/Tools/AcronisTrueImage/dat3.dat
|
||||
initrd http://${next-server}/Tools/AcronisTrueImage/dat4.dat
|
||||
boot
|
||||
|
||||
:SystemRescueCD
|
||||
kernel http://${next-server}/Tools/SystemRescueCD/vmlinuz archisobasedir=Tools/SystemRescueCD ip=dhcp archiso_http_srv=http://${next-server}/
|
||||
initrd http://${next-server}/Tools/SystemRescueCD/intel_ucode.img
|
||||
initrd http://${next-server}/Tools/SystemRescueCD/amd_ucode.img
|
||||
initrd http://${next-server}/Tools/SystemRescueCD/sysresccd.img
|
||||
boot
|
||||
Reference in New Issue
Block a user