not supporting any debian distros greater than 9.0 since OMI doesn't support
@@ -119,7 +119,7 @@ def get_distro_category():
distro_info = platform.dist()
distro_name = distro_info[0].lower()
distro_version = distro_info[1]
- if distro_name == 'ubuntu' or (distro_name == 'debian' and distro_version != '9.0'):
+ if distro_name == 'ubuntu' or (distro_name == 'debian' and float(distro_version) >= '9.0'):
return DistroCategory.debian
elif distro_name == 'centos' or distro_name == 'redhat' or distro_name == 'oracle':
return DistroCategory.redhat
