Inital commit
This commit is contained in:
14
Installer-Centos9stream.sh
Normal file
14
Installer-Centos9stream.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/Centos/9-stream"
|
||||
[ -d "$TargetDir" ] || mkdir -p $TargetDir
|
||||
|
||||
wget http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/images/pxeboot/initrd.img -O $TargetDir/initrd.img
|
||||
|
||||
wget http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/images/pxeboot/vmlinuz -O $TargetDir/vmlinuz
|
||||
Reference in New Issue
Block a user