update snappy version

This commit is contained in:
usman@cyberpersons.com
2023-06-06 11:49:50 +05:00
parent 9de252a75e
commit a717267d4f
3 changed files with 2 additions and 8 deletions

View File

@@ -102,7 +102,7 @@ class preFlightsChecks:
debug = 1
cyberPanelMirror = "mirror.cyberpanel.net/pip"
cdn = 'cyberpanel.sh'
SnappyVersion = '2.25.3'
SnappyVersion = '2.28.1'
def __init__(self, rootPath, ip, path, cwd, cyberPanelPath, distro, remotemysql=None, mysqlhost=None, mysqldb=None,
mysqluser=None, mysqlpassword=None, mysqlport=None):

View File

@@ -1,6 +0,0 @@
import subprocess
subprocess.run(self.command, capture_output=self.capture_output, text=True, shell=self.shell)
if subprocess.run('uname -a', check=True, shell=True).find('arch64') ==-1:
pass
else:
print('arch64')

View File

@@ -38,7 +38,7 @@ class Upgrade:
UbuntuPath = '/etc/lsb-release'
openEulerPath = '/etc/openEuler-release'
FromCloud = 0
SnappyVersion = '2.25.3'
SnappyVersion = '2.28.1'
AdminACL = '{"adminStatus":1, "versionManagement": 1, "createNewUser": 1, "listUsers": 1, "deleteUser":1 , "resellerCenter": 1, ' \
'"changeUserACL": 1, "createWebsite": 1, "modifyWebsite": 1, "suspendWebsite": 1, "deleteWebsite": 1, ' \