diff --git a/virtinst/urldetect.py b/virtinst/urldetect.py index 16b3f372..216829a6 100644 --- a/virtinst/urldetect.py +++ b/virtinst/urldetect.py @@ -128,7 +128,7 @@ class _DistroCache(object): # centos altarch's have just version=7 update = 0 version = _safeint(verstr) - if verstr.count(".") == 1: + if verstr.count(".") >= 1: version = _safeint(verstr.split(".")[0]) update = _safeint(verstr.split(".")[1])