Fix password function

This commit is contained in:
thorstenspille 2023-08-24 20:28:59 +02:00
parent 6ed28a0243
commit 31eb6c5862

View File

@ -5,5 +5,5 @@ LXC_RANDOMPWD=32
random_password() {
set +o pipefail
C_CTYPE=C tr -dc 'a-zA-Z0-9' < /dev/urandom 2>/dev/null | head -c${LXC_RANDOMPWD}
LC_CTYPE=C tr -dc 'a-zA-Z0-9' < /dev/urandom 2>/dev/null | head -c${LXC_RANDOMPWD}
}