mirror of
https://github.com/ceph/ceph
synced 2025-01-04 10:12:30 +00:00
ceph-disk: Add Virtuozzo Linux support
Signed-off-by: Andrey Parfenov <aparfenov@virtuozzo.com>
This commit is contained in:
parent
46bdb32bcd
commit
8b99340385
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user