1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

bug #3764: correctly detect xen toolstack

Patch sent by Rolandas Naujikas
This commit is contained in:
Javi Fontan 2015-05-11 12:54:48 +02:00
parent 8dbd5380ea
commit 9fd0ca6d9d

View File

@ -24,7 +24,7 @@ module VNMNetwork
# Return the command to talk to the Xen hypervisor xm or xl for
# Xen 3 and 4
def self.get_xen_command
if system("ps axuww | grep -v grep | grep '\\bxen\\b'")
if system("ps axuww | grep -v grep | grep '\\bxend\\b'")
"sudo xm"
else
"sudo xl"