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:
parent
b796817b97
commit
778e17eb65
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user