forked from bashclub/zamba-lxc-toolbox
Integrated shellcheck changes by @fbartels
This commit is contained in:
@ -35,10 +35,7 @@ MARIA_DB_NAME="kopano"
|
||||
MARIA_DB_USER="kopano"
|
||||
|
||||
# Build a strong password for the SQL user - could be overwritten with something fixed
|
||||
secure_pwd() {
|
||||
set +o pipefail
|
||||
LC_CTYPE=C tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c32
|
||||
}
|
||||
MARIA_ROOT_PWD=$(secure_pwd)
|
||||
MARIA_USER_PWD=$(secure_pwd)
|
||||
|
||||
MARIA_ROOT_PWD=$(random_password)
|
||||
MARIA_USER_PWD=$(random_password)
|
||||
|
||||
|
Reference in New Issue
Block a user