Signed-off-by: Andrey Parfenov <aparfenov@virtuozzo.com>
'exherbo': gentoo,
'freebsd': freebsd,
'docker': docker,
+ 'virtuozzo': centos,
}
if distro == 'redhat' and use_rhceph:
return 'oraclevms'
elif distro.startswith(('gentoo', 'funtoo', 'exherbo')):
return 'gentoo'
+ elif distro.startswith('virtuozzo'):
+ return 'virtuozzo'
return distro
codename = 'OL' + release
elif distro_lower.startswith('oracle vm'):
codename = 'OVS' + release
+ # this could be an empty string in Virtuozzo linux
+ elif distro_lower.startswith('virtuozzo linux'):
+ codename = 'virtuozzo'
return (
str(distro).rstrip(),