Inital commit

This commit is contained in:
2022-06-27 19:20:21 +02:00
commit 5b80ab75d9
23 changed files with 565 additions and 0 deletions

15
Installer-Ubuntu22.04.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/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/Ubuntu/22.04"
[ -d "$TargetDir" ] || mkdir -p $TargetDir
wget https://releases.ubuntu.com/jammy/ubuntu-22.04-live-server-amd64.iso -O $TargetDir/Ubuntu22.04.iso
isoinfo -i $TargetDir/Ubuntu22.04.iso -R -x /casper/vmlinuz > $TargetDir/vmlinuz
isoinfo -i $TargetDir/Ubuntu22.04.iso -R -x /casper/initrd > $TargetDir/initrd