Merge branch 'master' into dist/eole/2.6.2/master
This commit is contained in:
commit
c723edd095
|
@ -7,13 +7,14 @@
|
|||
ROLE=$(CreoleGet dbClusterPosition)
|
||||
SECURE_CMD="mysql_secure_installation"
|
||||
PASSWORD=$(pwgen -1 10)
|
||||
passwd="/usr/share/eole/scripts/mariadbPwd"
|
||||
passwd="/usr/share/eole/sbin/mariadbPwd"
|
||||
logfile="/var/log/eole/maria-init.log"
|
||||
|
||||
${passwd} ${PASSWORD}
|
||||
|
||||
# Run secure installation script
|
||||
${SECURE_CMD} <<__EOF__
|
||||
${oldPass}
|
||||
${SECURE_CMD} > ${logfile} 2>&1 <<__EOF__
|
||||
${PASSWORD}
|
||||
y
|
||||
n
|
||||
y
|
||||
|
|
Loading…
Reference in New Issue