Skip to content

Commit daff97e

Browse files
committed
bug 7936: fix script on centos
status 7936: resolved fixed
1 parent d590f28 commit daff97e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/lib/cloud_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
version = file("/etc/redhat-release").readline()
4848
if version.find("Red Hat Enterprise Linux Server release 6") != -1:
4949
distro = RHEL6
50-
elif version.find("Centos release") != -1:
50+
elif version.find("CentOS release") != -1:
5151
distro = CentOS
5252
elif os.path.exists("/etc/legal") and "Ubuntu" in file("/etc/legal").read(-1): distro = Ubuntu
5353
else: distro = Unknown

0 commit comments

Comments
 (0)