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:
parent
8dbd5380ea
commit
9fd0ca6d9d
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user