First working version for Netbootbox-Install

This commit is contained in:
Frank Schiebel 2023-09-05 15:11:41 +02:00
parent 790f0327ca
commit 7bf673e2c6
59 changed files with 659 additions and 171 deletions

View file

@ -19,6 +19,13 @@ run_build(){
done
}
clean_share(){
local TMPSHARE="/srv/tmpshare/"
find "$TMPSHARE/" -mindepth 1 -delete
echo "All content in this directory will be removed periodically!" \
>> "$TMPSHARE/README"
}
## main:
if ! auto-apt-proxy | grep -q 'http://127.0.0.1:3142' ; then
@ -30,3 +37,4 @@ for IMG in {{ build_images|join(' ') }} ; do
echo "=========== Building image $IMG ==========="
run_build $IMG
done
clean_share