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:
@@ -42,4 +42,18 @@ BuildImage () {
|
||||
#Build Jenkins Image
|
||||
BuildImage Debian jenkins
|
||||
#Build JenkinsNode (imgbuilder) Image
|
||||
BuildImage Debian imgbuilder
|
||||
BuildImage Debian imgbuilder
|
||||
|
||||
read -p "Do you want to server image files on webserver? (yes/No) " runws
|
||||
if [[ $runws == y* || $runws == Y* ]]; then
|
||||
echo "Availible ip addresses"
|
||||
ip -4 -o a
|
||||
echo ""
|
||||
echo "Dowload jenkins image: http://<IP>:8000/Debian-jenkins.tar.xz"
|
||||
echo "Dowload imgbuilder image: http://<IP>:8000/Debian-imgbuilder.tar.xz"
|
||||
echo ""
|
||||
echo "To stop the webserver press ctrl + c"
|
||||
python3 -m http.server >/dev/null
|
||||
fi
|
||||
|
||||
echo Done
|
||||
Reference in New Issue
Block a user