mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-14 09:16:11 +01:00
several bug fixes to docker apps feature
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#!/usr/local/CyberCP/bin/python
|
||||
import os
|
||||
import sys
|
||||
sys.path.append('/usr/local/CyberCP')
|
||||
import plogical.CyberCPLogFileWriter as logging
|
||||
@@ -20,6 +21,12 @@ class DockerInstall:
|
||||
|
||||
if ProcessUtilities.decideDistro() == ProcessUtilities.cent8:
|
||||
|
||||
if os.path.exists(ProcessUtilities.debugPath):
|
||||
logging.CyberCPLogFileWriter.writeToFile(f'Docker installation started for cent8/9')
|
||||
|
||||
command = 'sudo yum install -y yum-utils'
|
||||
ServerStatusUtil.executioner(command, statusFile)
|
||||
|
||||
command = 'yum install yum-utils -y'
|
||||
ServerStatusUtil.executioner(command, statusFile)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user