mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-05-07 01:07:05 +02:00
Bug fix to domain creation.
This commit is contained in:
@@ -43,7 +43,6 @@ class preFlightsChecks:
|
||||
logging.InstallLog.writeToFile("SELinux is enabled, please disable SELinux and restart the installation!")
|
||||
preFlightsChecks.stdOut("Installation failed, consult: /var/log/installLogs.txt")
|
||||
sys.exit()
|
||||
return 0
|
||||
|
||||
except BaseException,msg:
|
||||
logging.InstallLog.writeToFile(str(msg) + "[checkIfSeLinuxDisabled]")
|
||||
|
||||
15
install/install.xml
Normal file
15
install/install.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" ?>
|
||||
<installCommands>
|
||||
<installSudo>
|
||||
<centos7>yum install sudo -y</centos7>
|
||||
<ubuntu16.04>apt-get install sudo -y</ubuntu16.04>
|
||||
</installSudo>
|
||||
<addUser>
|
||||
<centos7>adduser cyberpanel</centos7>
|
||||
<ubuntu16.04>adduser --disabled-password --gecos "" cyberpanel</ubuntu16.04>
|
||||
</addUser>
|
||||
<giveSudo>
|
||||
<centos7>usermod -aG wheel cyberpanel</centos7>
|
||||
<ubuntu16.04>usermod -aG sudo cyberpanel</ubuntu16.04>
|
||||
</giveSudo>
|
||||
</installCommands>
|
||||
Reference in New Issue
Block a user