Updated Readme, FirstSetup and CacheAndRepo scripts

Readme: Cleanup in inital setup area

First setup: added Python webserver to serve the created images for easy deployment in Proxmox

CacheAndRepo: Alpine will now always use Default repo for rootfs/core since the download methode in Distrobuilder has changed
This commit is contained in:
2022-09-05 21:41:30 +02:00
parent dbf37bb4e2
commit 3bd8f50ddc
3 changed files with 26 additions and 9 deletions

View File

@@ -53,9 +53,11 @@ fi
#Goto ProjectRoot
cd "$( cd "$( dirname "$0" )" &> /dev/null && pwd )/.."
#AlpineBaseRepo
#AlpineCoreRepo
## Disabled using the proxy server and will now always use $DefaultAlpineRepo instead of $AlpineRepo.
## This is due to a change in the downloading of the minirootfs for alpine in Distrobuilder [since 22-08-2022] (Note: Distrobuilder will store the image in the tmp folder)
sed -i -e '/#InitDownloadREPO/{n;d}' CT-Build/Alpine.yaml
sed -i -e '/#InitDownloadREPO/a \ url: '$AlpineRepo'' CT-Build/Alpine.yaml
sed -i -e '/#InitDownloadREPO/a \ url: '$DefaultAlpineRepo'' CT-Build/Alpine.yaml
#AlpineRepo
sed -i -n '/#StartREPOS/{:a;N;/#EndREPOS/!ba;N;s/.*\n/#HereREPO\n/};p' CT-Build/Alpine.yaml