Merge "Fedora mariadb: disable cracklib"

This commit is contained in:
Jenkins 2017-06-23 11:28:05 +00:00 committed by Gerrit Code Review
commit 44ff39538c

View File

@ -71,6 +71,10 @@ function configure_database_mysql {
elif is_fedora; then
mysql=mariadb
my_conf=/etc/my.cnf
local cracklib_conf=/etc/my.cnf.d/cracklib_password_check.cnf
if [ -f "$cracklib_conf" ]; then
inicomment -sudo "$cracklib_conf" "mariadb" "plugin-load-add"
fi
else
exit_distro_not_supported "mysql configuration"
fi