Added RockyLinux9
This commit is contained in:
14
Installer-Rocky9.sh
Normal file
14
Installer-Rocky9.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
#Check if config is in current directory
|
||||
if [[ ! -f Locations.conf ]];then
|
||||
echo "Location config not found, Please got to the Project directory"
|
||||
exit 10
|
||||
fi
|
||||
|
||||
source Locations.conf
|
||||
TargetDir="$WWWStore/Installer/Rocky/8"
|
||||
[ -d "$TargetDir" ] || mkdir -p $TargetDir
|
||||
|
||||
wget http://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/images/pxeboot/initrd.img -O $TargetDir/initrd.img
|
||||
|
||||
wget http://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/images/pxeboot/vmlinuz -O $TargetDir/vmlinuz
|
||||
@@ -19,6 +19,7 @@ item AlmaLinux8 Install Alma Linux 8 x64
|
||||
item AlmaLinux9 Install Alma Linux 9 x64
|
||||
item --gap -- ------------------------- Rocky Linux ------------------------------
|
||||
item RockyLinux8 Install Rocky Linux 8 x64
|
||||
item RockyLinux9 Install Rocky Linux 9 x64
|
||||
item --gap -- ------------------------- Others ------------------------------
|
||||
item OpenSuseLeap Install OpenSuse Leap x64
|
||||
item Fedora Install Fedora x64
|
||||
@@ -90,7 +91,12 @@ boot
|
||||
kernel http://${next-server}/Installer/Rocky/8/vmlinuz initrd=initrd.img inst.stage2=http://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/ devfs=nomount ip=dhcp
|
||||
initrd http://${next-server}/Installer/Rocky/8/initrd.img
|
||||
boot
|
||||
|
||||
|
||||
:RockyLinux9
|
||||
kernel http://${next-server}/Installer/Rocky/9/vmlinuz initrd=initrd.img inst.stage2=http://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/ devfs=nomount ip=dhcp
|
||||
initrd http://${next-server}/Installer/Rocky/9/initrd.img
|
||||
boot
|
||||
|
||||
:OpenSuseLeap
|
||||
kernel http://${next-server}/Installer/OpenSuse/Leap/linux initrd=initrd showopts install=http://download.opensuse.org/distribution/openSUSE-stable/repo/oss/
|
||||
initrd http://${next-server}/Installer/OpenSuse/Leap/initrd
|
||||
|
||||
Reference in New Issue
Block a user