ceph-disk: Add Virtuozzo Linux support

Signed-off-by: Andrey Parfenov <aparfenov@virtuozzo.com>
This commit is contained in:
Andrey Parfenov 2017-04-03 16:36:32 +03:00
parent 46bdb32bcd
commit 8b99340385

View File

@ -542,6 +542,9 @@ def platform_information():
codename = minor
else:
codename = major
# this could be an empty string in Virtuozzo linux
if not codename and 'virtuozzo linux' in distro.lower():
codename = 'virtuozzo'
return (
str(distro).strip(),