Intial commit
This commit is contained in:
102
iPXE/LinuxInstallers.ipxe
Normal file
102
iPXE/LinuxInstallers.ipxe
Normal file
@@ -0,0 +1,102 @@
|
||||
#!ipxe
|
||||
|
||||
#Vars
|
||||
set DebianVer bullseye
|
||||
set CentosStreamVer 9-stream
|
||||
set AlmalVer 9
|
||||
set RockyVer 8
|
||||
set FedoraVer 36
|
||||
set AlpineVer latest-stable
|
||||
|
||||
#LDS Linux install menu using external images
|
||||
|
||||
:start
|
||||
menu Linux Depolyment server - Installers
|
||||
#Variable items
|
||||
|
||||
item Debian Install Debian ${DebianVer} x64
|
||||
item CentosStream Install CentOS ${CentosStreamVer} x64
|
||||
item AlmaLinux Install Alma ${AlmalVer} x64
|
||||
item RockyLinux Install Rocky ${RockyVer} x64
|
||||
item OpenSuseLeap Install OpenSuse Leap x64
|
||||
item Fedora Install Fedora ${FedoraVer} x64
|
||||
item Alpine Install Alpine ${AlpineVer} x64
|
||||
|
||||
#Legacy static items
|
||||
#item Debian10 Install Debian 10 x64
|
||||
#item Ubuntu1804 Install Ubuntu 18.04 x64
|
||||
#item Ubuntu2004 Install Ubuntu 20.04 x64
|
||||
#item Centos7 Install CentOS 7 x64
|
||||
#item Centos8Stream Install CentOS 8-Stream x64
|
||||
|
||||
item
|
||||
item --key x LDSMain Back to the main menu <--
|
||||
choose --timeout ${menu-timeout} --default ${menu-default} selected || goto cancel
|
||||
set menu-timeout 0
|
||||
goto ${selected}
|
||||
|
||||
#Load LDS Main menu
|
||||
:LDSMain
|
||||
chain LDS.ipxe
|
||||
boot
|
||||
|
||||
:Debian
|
||||
kernel http://ftp.nl.debian.org/debian/dists/${DebianVer}/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux initrd=initrd.gz
|
||||
initrd http://ftp.nl.debian.org/debian/dists/${DebianVer}/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz
|
||||
boot
|
||||
|
||||
:CentosStream
|
||||
kernel http://mirror.stream.centos.org/${CentosStreamVer}/BaseOS/x86_64/os/images/pxeboot/vmlinuz initrd=initrd.img inst.stage2=http://mirror.stream.centos.org/${CentosStreamVer}/BaseOS/x86_64/os/ devfs=nomount ip=dhcp
|
||||
initrd http://mirror.stream.centos.org/${CentosStreamVer}/BaseOS/x86_64/os/images/pxeboot/initrd.img
|
||||
boot
|
||||
|
||||
:AlmaLinux
|
||||
kernel http://repo.almalinux.org/almalinux/${AlmalVer}/BaseOS/x86_64/os/images/pxeboot/vmlinuz initrd=initrd.img inst.stage2=http://repo.almalinux.org/almalinux/${AlmalVer}/BaseOS/x86_64/os/ devfs=nomount ip=dhcp
|
||||
initrd http://repo.almalinux.org/almalinux/${AlmalVer}/BaseOS/x86_64/os/images/pxeboot/initrd.img
|
||||
boot
|
||||
|
||||
:RockyLinux
|
||||
kernel http://download.rockylinux.org/pub/rocky/${RockyVer}/BaseOS/x86_64/os/images/pxeboot/vmlinuz initrd=initrd.img inst.stage2=http://download.rockylinux.org/pub/rocky/${RockyVer}/BaseOS/x86_64/os/ devfs=nomount ip=dhcp
|
||||
initrd http://download.rockylinux.org/pub/rocky/${RockyVer}/BaseOS/x86_64/os/images/pxeboot/initrd.img
|
||||
boot
|
||||
|
||||
:OpenSuseLeap
|
||||
kernel http://download.opensuse.org/distribution/openSUSE-stable/repo/oss/boot/x86_64/loader/linux initrd=initrd showopts install=http://download.opensuse.org/distribution/openSUSE-stable/repo/oss/
|
||||
initrd http://download.opensuse.org/distribution/openSUSE-stable/repo/oss/boot/x86_64/loader/initrd
|
||||
boot
|
||||
|
||||
:Fedora
|
||||
kernel http://download.fedoraproject.org/pub/fedora/linux/releases/${FedoraVer}/Everything/x86_64/os/images/pxeboot/vmlinuz initrd=initrd.img inst.stage2=https://download.fedoraproject.org/pub/fedora/linux/releases/${FedoraVer}/Everything/x86_64/os/ devfs=nomount ip=dhcp
|
||||
initrd http://download.fedoraproject.org/pub/fedora/linux/releases/${FedoraVer}/Everything/x86_64/os/images/pxeboot/initrd.img
|
||||
boot
|
||||
|
||||
:Alpine
|
||||
kernel http://dl-4.alpinelinux.org/alpine/${AlpineVer}/releases/x86_64/netboot/vmlinuz-lts modules=loop,squashfs quiet alpine_repo=http://dl-4.alpinelinux.org/alpine/${AlpineVer}/main modloop=http://dl-4.alpinelinux.org/alpine/${AlpineVer}/releases/x86_64/netboot/modloop-lts initrd=initramfs-lts
|
||||
initrd http://dl-4.alpinelinux.org/alpine/${AlpineVer}/releases/x86_64/netboot/initramfs-lts
|
||||
boot
|
||||
|
||||
#Legacy static items
|
||||
:Debian10
|
||||
kernel http://ftp.nl.debian.org/debian/dists/buster/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux initrd=initrd.gz
|
||||
initrd http://ftp.nl.debian.org/debian/dists/buster/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz
|
||||
boot
|
||||
|
||||
:Ubuntu1804
|
||||
kernel http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/linux initrd=initrd.gz
|
||||
initrd http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz
|
||||
boot
|
||||
|
||||
:Ubuntu2004
|
||||
kernel http://archive.ubuntu.com/ubuntu/dists/focal-updates/main/installer-amd64/current/legacy-images/netboot/ubuntu-installer/amd64/linux initrd=initrd.gz
|
||||
initrd http://archive.ubuntu.com/ubuntu/dists/focal-updates/main/installer-amd64/current/legacy-images/netboot/ubuntu-installer/amd64/initrd.gz
|
||||
boot
|
||||
|
||||
:Centos7
|
||||
kernel http://mirror.centos.org/centos/7/os/x86_64/images/pxeboot/vmlinuz initrd=initrd.img method=http://mirror.centos.org/centos/7/os/x86_64/ devfs=nomount ip=dhcp
|
||||
initrd http://mirror.centos.org/centos/7/os/x86_64/images/pxeboot/initrd.img
|
||||
boot
|
||||
|
||||
:Centos8Stream
|
||||
kernel http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/images/pxeboot/vmlinuz initrd=initrd.img method=http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/ devfs=nomount ip=dhcp
|
||||
initrd http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/images/pxeboot/initrd.img
|
||||
boot
|
||||
Reference in New Issue
Block a user