1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

F OpenNebula/one#5599: Fix version detection (#1845)

(cherry picked from commit a4780db7a952f68c607f34a97054ce6508eb861c)
This commit is contained in:
Daniel Clavijo Coca 2022-03-16 10:18:35 -06:00 committed by Ruben S. Montero
parent de2f61a84c
commit f26b068e3f
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -84,7 +84,7 @@ class OpenNebulaVM
# Returns cgroup version
def cgroup_ver
return 2 unless `mount | grep 'type cgroup2'`.empty?
return 2 unless `mount | grep 'cgroup2 on '`.empty?
1
end