Inital commit
This commit is contained in:
14
Installer-AlpineStable.sh
Normal file
14
Installer-AlpineStable.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/Alpine/stable"
|
||||
[ -d "$TargetDir" ] || mkdir -p $TargetDir
|
||||
|
||||
wget http://dl-4.alpinelinux.org/alpine/latest-stable/releases/x86_64/netboot/vmlinuz-lts -O $TargetDir/vmlinuz-lts
|
||||
wget http://dl-4.alpinelinux.org/alpine/latest-stable/releases/x86_64/netboot/modloop-lts -O $TargetDir/modloop-lts
|
||||
wget http://dl-4.alpinelinux.org/alpine/latest-stable/releases/x86_64/netboot/initramfs-lts -O $TargetDir/initramfs-lts
|
||||
Reference in New Issue
Block a user