From 90074477f206ff08ed887a848b4908e5b62d35fd Mon Sep 17 00:00:00 2001 From: mischa Date: Fri, 28 Sep 2018 12:27:10 +0200 Subject: [PATCH] changed generate_passwd() from tr to jot --- deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index c651dfa..c3a1bef 100755 --- a/deploy.sh +++ b/deploy.sh @@ -111,7 +111,8 @@ fetch_ipv6() { generate_passwd() { # Generate a random password for the install-.conf file. # Doesn't take variables - tr -cd '[:alnum:]' < /dev/urandom | fold -w 20 | head -n 1 + #tr -cd '[:alnum:]' < /dev/urandom | fold -w 20 | head -n 1 + jot -rc -s '' 20 33 127 } check_instance() {