mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 13:56:01 +01:00
distro for static method and password
This commit is contained in:
@@ -1268,10 +1268,10 @@ def Main(cwd, mysql, distro):
|
||||
|
||||
installer.setup_mariadb_repo()
|
||||
installer.installMySQL(mysql)
|
||||
if distro == centos:
|
||||
installer.changeMYSQLRootPassword()
|
||||
if distro == centos and mysql == 'Two':
|
||||
installer.changeMYSQLRootPasswordCyberPanel(mysql)
|
||||
#if distro == centos:
|
||||
installer.changeMYSQLRootPassword()
|
||||
#if distro == centos and mysql == 'Two':
|
||||
installer.changeMYSQLRootPasswordCyberPanel(mysql)
|
||||
installer.startMariaDB()
|
||||
if distro == ubuntu:
|
||||
installer.fixMariaDB()
|
||||
|
||||
Reference in New Issue
Block a user