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

bug: fixes update functionality

This commit is contained in:
Ruben S. Montero 2011-06-18 02:11:56 +02:00
parent b796817b97
commit 778e17eb65
2 changed files with 5 additions and 3 deletions

View File

@ -198,8 +198,10 @@ private
MAGIC_RC = 42
def self.update_remotes(host, remote_dir, logger=nil)
log("Remote worker node files not found")
log("Updating remotes")
if logger != nil
logger.call("Remote worker node files not found")
logger.call("Updating remotes")
end
#recreate remote dir structure
SSHCommand.run("mkdir -p #{remote_dir}",host,logger)

View File

@ -149,7 +149,7 @@ class OpenNebulaDriver < ActionManager
if action_is_local? aname
local_action(command, id, aname)
else
remotes_action(command, id, host, aname, @remote_scripts_path,
remotes_action(command, id, host, aname, @remote_scripts_base_path,
options[:stdin])
end
end