Bug 8221 - cloud-setup-databases fails when using RHEL 5.6

status 8221: resloved fixed
This commit is contained in:
Frank 2011-02-01 12:09:22 -08:00
parent d6a7bb1fbe
commit 7b1deef915
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ elif os.path.exists("/etc/redhat-release"):
distro = RHEL6
elif version.find("CentOS release") != -1:
distro = CentOS
else:
distro = CentOS
elif os.path.exists("/etc/legal") and "Ubuntu" in file("/etc/legal").read(-1): distro = Ubuntu
else: distro = Unknown
logFileName=None