diff --git a/stretch-vm.sh b/stretch-vm.sh index 86c5965..9ecce50 100644 --- a/stretch-vm.sh +++ b/stretch-vm.sh @@ -58,13 +58,15 @@ if [ ! -f /root/.ssh/id_rsa ]; then ssh-keygen fi cat /root/.ssh/id_rsa.pub +read -n 1 -p "Create backup account now" unused wget -q -O /usr/local/sbin/systembackup https://code.camijo.de/gmueller/server-scripts/raw/master/systembackup chmod +x /usr/local/sbin/systembackup if [ ! -f /etc/systembackup.conf ]; then +PASSWD=`< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-32}` cat >>/etc/systembackup.conf <