From e30a2dcc27ebdbdef825c8a32debaade50185169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tino=20V=C3=A1zquez?= Date: Thu, 7 Oct 2010 18:29:24 +0200 Subject: [PATCH] remote_path --> cmd_path --- src/im_mad/im_sh/one_im_sh.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/im_mad/im_sh/one_im_sh.rb b/src/im_mad/im_sh/one_im_sh.rb index 392af18898..c2ab321cef 100755 --- a/src/im_mad/im_sh/one_im_sh.rb +++ b/src/im_mad/im_sh/one_im_sh.rb @@ -49,7 +49,7 @@ class InformationManager < OpenNebulaDriver @config = read_configuration @hypervisor = hypervisor - @cmd_path = "#{ENV['ONE_LOCATION']}/lib/remotes/im/#{hypervisor}.d" + @cmd_path = "#{ENV['ONE_LOCATION']}/lib/remotes/im" # register actions register_action(:MONITOR, method("action_monitor")) @@ -63,7 +63,7 @@ class InformationManager < OpenNebulaDriver log(number, message) end - cmd_string = "#{@remote_dir}/im/run_probes #{@hypervisor} #{host}" + cmd_string = "#{@cmd_path}/run_probes #{@hypervisor} #{host}" monitor_exe = LocalCommand.run(cmd_string, host, log_method(id)) if monitor_exe.code == 0