#!/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