diff -up cobbler-2.6.8/koan/utils.py.centos cobbler-2.6.8/koan/utils.py --- cobbler-2.6.8/koan/utils.py.centos 2015-05-08 19:25:57.530993499 -0600 +++ cobbler-2.6.8/koan/utils.py 2015-05-08 19:27:48.124509895 -0600 @@ -360,7 +360,9 @@ def os_release(): tokens = rest.split(" ") for t in tokens: try: - return (make,float(t)) + match = re.match('^\d+(?:\.\d+)?', t) + if match: + return (make, float(match.group(0))) except ValueError, ve: pass raise CX("failed to detect local OS version from /etc/redhat-release")