mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-10 06:24:35 +09:00
bug: fixes update functionality
This commit is contained in:
1 parent
b796817b97
commit
778e17eb65
2 files changed
+5
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user