mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-10-26 07:46:35 +01:00
bug fix: alma8 install
This commit is contained in:
@@ -996,9 +996,11 @@ def Main(cwd, mysql, distro, ent, serial=None, port="8090", ftp=None, dns=None,
|
||||
except:
|
||||
pass
|
||||
|
||||
if distro == centos:
|
||||
# For RHEL-based systems (CentOS, AlmaLinux, Rocky, etc.), generate a separate password
|
||||
if distro in [centos, cent8, openeuler]:
|
||||
InstallCyberPanel.mysqlPassword = install_utils.generate_pass()
|
||||
else:
|
||||
# For Ubuntu/Debian, use the same password as root
|
||||
InstallCyberPanel.mysqlPassword = InstallCyberPanel.mysql_Root_password
|
||||
|
||||
installer = InstallCyberPanel("/usr/local/lsws/", cwd, distro, ent, serial, port, ftp, dns, publicip, remotemysql,
|
||||
|
||||
Reference in New Issue
Block a user