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