From 9fd0ca6d9df0a6a67da69bad68379e1317013b8b Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Mon, 11 May 2015 12:54:48 +0200 Subject: [PATCH] bug #3764: correctly detect xen toolstack Patch sent by Rolandas Naujikas --- src/vnm_mad/remotes/lib/command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vnm_mad/remotes/lib/command.rb b/src/vnm_mad/remotes/lib/command.rb index 903051ed00..5c85d16de0 100644 --- a/src/vnm_mad/remotes/lib/command.rb +++ b/src/vnm_mad/remotes/lib/command.rb @@ -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"