From d738619ffea18930064a2928c772911e0d22e87a Mon Sep 17 00:00:00 2001 From: mischa Date: Tue, 25 Sep 2018 00:02:25 +0200 Subject: [PATCH] change :print: for :alnum: in tr --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 2085814..c651dfa 100755 --- a/deploy.sh +++ b/deploy.sh @@ -111,7 +111,7 @@ fetch_ipv6() { generate_passwd() { # Generate a random password for the install-.conf file. # Doesn't take variables - tr -cd '[:print:]' < /dev/urandom | fold -w 20 | head -n 1 + tr -cd '[:alnum:]' < /dev/urandom | fold -w 20 | head -n 1 } check_instance() {