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:
parent
f289b6bb28
commit
e1931a4047
@ -27,6 +27,9 @@ function error_exit() {
|
||||
|
||||
domain=$1
|
||||
|
||||
mkdir -p `dirname $domain`
|
||||
cat > $domain
|
||||
|
||||
output=`$XM_CREATE $domain`
|
||||
|
||||
error_exit $?
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user