Skip to content

Commit ace7d63

Browse files
Edison SuEdison Su
authored andcommitted
detect centos 6.2
1 parent df59276 commit ace7d63

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/lib/cloudutils/utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def __init__(self):
9090
self.distro = "Fedora"
9191
elif os.path.exists("/etc/redhat-release"):
9292
version = file("/etc/redhat-release").readline()
93-
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:
93+
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:
9494
self.distro = "RHEL6"
9595
elif version.find("CentOS release") != -1:
9696
self.distro = "CentOS"

0 commit comments

Comments
 (0)