Explorar o código

Add mpass generation back

Jaap Marcus %!s(int64=4) %!d(string=hai) anos
pai
achega
ac65b8cfba
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      install/hst-install-debian.sh

+ 1 - 0
install/hst-install-debian.sh

@@ -1518,6 +1518,7 @@ if [ "$mysql" = 'yes' ]; then
     systemctl start mysql >> $LOG
     check_result $? "mariadb start failed"
 
+    mpass=$(gen_pass)
     echo -e "[client]\npassword='$mpass'\n" > /root/.my.cnf
     chmod 600 /root/.my.cnf