mirror of
https://git.bashclub.org/bashclub/zamba-lxc-toolbox.git
synced 2025-07-26 21:54:55 +02:00
Fix password function
This commit is contained in:
parent
6ed28a0243
commit
31eb6c5862
1 changed files with 1 additions and 1 deletions
|
@ -5,5 +5,5 @@ LXC_RANDOMPWD=32
|
||||||
|
|
||||||
random_password() {
|
random_password() {
|
||||||
set +o pipefail
|
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}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue