lib/cloud_providers/connections.rb in auser-poolparty-1.3.5 vs lib/cloud_providers/connections.rb in auser-poolparty-1.3.6
- old
+ new
@@ -49,10 +49,10 @@
def rsync( opts={} )
raise StandardError.new("You must pass a :source=>uri option to rsync") unless opts[:source]
destination_path = opts[:destination] || opts[:source]
rsync_opts = opts[:rsync_opts] || '-va'
- cmd_string = "rsync -e 'ssh #{ssh_options}' #{rsync_opts} #{opts[:source]} #{user}@#{host}:#{destination_path}"
+ cmd_string = "rsync -L -e 'ssh #{ssh_options}' #{rsync_opts} #{opts[:source]} #{user}@#{host}:#{destination_path}"
out = system_run(cmd_string)
out
end
def scp(opts={})
\ No newline at end of file