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