cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edi...@apache.org
Subject git commit: add CentOS 6.3 to cloud-setup-agent
Date Fri, 14 Sep 2012 18:21:46 GMT
Updated Branches:
  refs/heads/master 911048929 -> 9cc5c8e46


add CentOS 6.3 to cloud-setup-agent

Signed-off-by: Edison Su <sudison@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/9cc5c8e4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/9cc5c8e4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/9cc5c8e4

Branch: refs/heads/master
Commit: 9cc5c8e46da841d7ccfba1c9bf91383892948caa
Parents: 9110489
Author: Marcus Sorensen <shadowsor@gmail.com>
Authored: Fri Sep 14 11:21:07 2012 -0700
Committer: Edison Su <sudison@gmail.com>
Committed: Fri Sep 14 11:21:07 2012 -0700

----------------------------------------------------------------------
 python/lib/cloudutils/utilities.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/9cc5c8e4/python/lib/cloudutils/utilities.py
----------------------------------------------------------------------
diff --git a/python/lib/cloudutils/utilities.py b/python/lib/cloudutils/utilities.py
index 12e9729..adf81fc 100755
--- a/python/lib/cloudutils/utilities.py
+++ b/python/lib/cloudutils/utilities.py
@@ -106,7 +106,7 @@ class Distribution:
             self.distro = "Fedora"
         elif os.path.exists("/etc/redhat-release"):
             version = file("/etc/redhat-release").readline()
-            if version.find("Red Hat Enterprise Linux Server release 6") != -1 or version.find("Scientific
Linux release 6") != -1 or version.find("CentOS Linux release 6") != -1 or version.find("CentOS
release 6.2") != -1:
+            if version.find("Red Hat Enterprise Linux Server release 6") != -1 or version.find("Scientific
Linux release 6") != -1 or version.find("CentOS Linux release 6") != -1 or version.find("CentOS
release 6.2") or version.find("CentOS release 6.3") != -1:
                 self.distro = "RHEL6"
             elif version.find("CentOS release") != -1:
                 self.distro = "CentOS"


Mime
View raw message