Test - Create iso

Not tested yet... if you encounter a problem, please report them.
This commit is contained in:
R0GGER authored and GitHub committed 2018-03-20 13:25:57 +01:00
1 parent 8490149982
commit d831b08980
1 file changed
+6
+6
View File
@@ -24,6 +24,12 @@ sleep 10
for LANGUAGE in ${LANGUAGE}; do
cd /wsus/wsusoffline/sh && ./download-updates.bash ${OFFICE} ${LANGUAGE}
done
if [[ $ISO == y* ]]; then
mkdir -p /wsus/wsusoffline/client/iso
echo "Creating ISO..."
genisoimage -iso-level 4 -J -joliet-long -rational-rock -allow-limited-size -quiet -o /wsus/wsusoffline/client/iso/wsus.iso -m '@*' -m '.*' -m 'iso' /wsus/wsusoffline/client
echo "Done"
fi
done
echo "Sleeping for $SLEEP before next download."
sleep "$SLEEP"