1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

Removed debugging info for IM driver. Fixed bug in xen deploy script (#307)

This commit is contained in:
Jaime Melis 2010-08-24 18:40:44 +02:00
parent f289b6bb28
commit e1931a4047
2 changed files with 3 additions and 2 deletions

View File

@ -27,6 +27,9 @@ function error_exit() {
domain=$1
mkdir -p `dirname $domain`
cat > $domain
output=`$XM_CREATE $domain`
error_exit $?

View File

@ -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