diff --git a/share/scripts/vmm/xen/deploy b/share/scripts/vmm/xen/deploy index 2b9a13a8e1..06ef8dce32 100755 --- a/share/scripts/vmm/xen/deploy +++ b/share/scripts/vmm/xen/deploy @@ -27,6 +27,9 @@ function error_exit() { domain=$1 +mkdir -p `dirname $domain` +cat > $domain + output=`$XM_CREATE $domain` error_exit $? diff --git a/src/im_mad/im_ssh/one_im_ssh.rb b/src/im_mad/im_ssh/one_im_ssh.rb index 408fe9120b..d517e3d6f4 100755 --- a/src/im_mad/im_ssh/one_im_ssh.rb +++ b/src/im_mad/im_ssh/one_im_ssh.rb @@ -57,9 +57,7 @@ class InformationManager < OpenNebulaDriver # Execute the run_probes in the remote host #--------------------------------------------------------------------------- def action_monitor(number, host, do_update) - STDERR.puts Time.now.to_s + ": do_update=" +do_update.inspect if do_update == "1" - STDERR.puts Time.now.to_s + ": Doing rsync" sync_cmd = "rsync -Laz #{REMOTES_LOCATION} #{host}:#{@remote_dir}" LocalCommand.run(sync_cmd) else