Fix the image name to not contain "difficult" chars

This commit is contained in:
Thomas Schwery 2016-11-09 21:46:46 +01:00
parent a760f4e118
commit 57d7e54b8e

View file

@ -12,7 +12,7 @@ read -p "Username: " TGT_USERNAME
TGT_PASSWORD='$6$2b3uuej5$fIOp13FK5BnkDo5hX7hP8bmsGeKk9cXl.FAtZ6Ti/3W4dZp4GAY1ZbD2D8jygK5Z7mCnsjGp9uzsIEBRITvO50' TGT_PASSWORD='$6$2b3uuej5$fIOp13FK5BnkDo5hX7hP8bmsGeKk9cXl.FAtZ6Ti/3W4dZp4GAY1ZbD2D8jygK5Z7mCnsjGp9uzsIEBRITvO50'
BASEDIR=$(mktemp -d -p .) BASEDIR=$(mktemp -d -p .)
IMAGEFILE="${BASEDIR}/image-$(date +'%y-%m-%d_%H:%M').raw" IMAGEFILE="${BASEDIR}/image-$(date +'%y-%m-%d_%H_%M').raw"
MOUNTDIR="${BASEDIR}/mnt" MOUNTDIR="${BASEDIR}/mnt"
KERNELDIR="${BASEDIR}/kernel" KERNELDIR="${BASEDIR}/kernel"