From a717267d4f72f1cfc9d9b1aa971ce8fff542ae38 Mon Sep 17 00:00:00 2001 From: "usman@cyberpersons.com" Date: Tue, 6 Jun 2023 11:49:50 +0500 Subject: [PATCH] update snappy version --- install/install.py | 2 +- plogical/test.py | 6 ------ plogical/upgrade.py | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/install/install.py b/install/install.py index 0e8d7aaf6..5905139dc 100755 --- a/install/install.py +++ b/install/install.py @@ -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): diff --git a/plogical/test.py b/plogical/test.py index 0352f5b3b..e69de29bb 100644 --- a/plogical/test.py +++ b/plogical/test.py @@ -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') \ No newline at end of file diff --git a/plogical/upgrade.py b/plogical/upgrade.py index f8ce2a9d9..e40440182 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -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, ' \