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)
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
# (C) 2021 Script design and prototype by Markus Helmke <m.helmke@nettwarker.de>
|
||||
# (C) 2021 Script rework and documentation by Thorsten Spille <thorsten@spille-edv.de>
|
||||
|
||||
source /root/functions.sh
|
||||
source /root/zamba.conf
|
||||
source /root/constants-service.conf
|
||||
|
||||
|
Reference in New Issue
Block a user