Fixing directory name
This commit is contained in:
parent
1dc370fb94
commit
91bdf0cbe6
|
@ -1,23 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
#
|
|
||||||
# Initialize root password
|
|
||||||
# and secure MariaDB installation
|
|
||||||
#
|
|
||||||
|
|
||||||
ROLE=$(CreoleGet dbClusterPosition)
|
|
||||||
SECURE_CMD="mysql_secure_installation"
|
|
||||||
PASSWORD=$(pwgen -1 10)
|
|
||||||
passwd="/usr/share/eole/scripts/mariadbPwd"
|
|
||||||
|
|
||||||
${passwd} ${PASSWORD}
|
|
||||||
|
|
||||||
# Run secure installation script
|
|
||||||
${SECURE_CMD} <<__EOF__
|
|
||||||
${oldPass}
|
|
||||||
y
|
|
||||||
n
|
|
||||||
y
|
|
||||||
y
|
|
||||||
y
|
|
||||||
y
|
|
||||||
__EOF__
|
|
Loading…
Reference in New Issue