From daff97e916576faf45031a9c001e2b7efea12fce Mon Sep 17 00:00:00 2001 From: Edison Su Date: Tue, 11 Jan 2011 09:57:14 -0500 Subject: [PATCH] bug 7936: fix script on centos status 7936: resolved fixed --- python/lib/cloud_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lib/cloud_utils.py b/python/lib/cloud_utils.py index 87d1d64856d..d9a825913ef 100644 --- a/python/lib/cloud_utils.py +++ b/python/lib/cloud_utils.py @@ -47,7 +47,7 @@ elif os.path.exists("/etc/redhat-release"): version = file("/etc/redhat-release").readline() if version.find("Red Hat Enterprise Linux Server release 6") != -1: distro = RHEL6 - elif version.find("Centos release") != -1: + elif version.find("CentOS release") != -1: distro = CentOS elif os.path.exists("/etc/legal") and "Ubuntu" in file("/etc/legal").read(-1): distro = Ubuntu else: distro = Unknown