synced_folders/rsync: copy symlinks as real files [GH-3734]

This commit is contained in:
Mitchell Hashimoto 2014-05-09 09:31:31 -07:00
parent 190ba4cd27
commit 2a973df440
2 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ BUG FIXES:
- providers/docker: fix container linking [GH-3719]
- providers/docker: Port settings expose to host properly. [GH-3723]
- provisioners/puppet: Separate module paths with ';' on Windows. [GH-3731]
- synced\_folders\rsync: Copy symlinks as real files. [GH-3734]
## 1.6.1 (May 7, 2014)

View File

@ -78,7 +78,7 @@ module VagrantPlugins
# Get the command-line arguments
args = nil
args = Array(opts[:args]) if opts[:args]
args ||= ["--verbose", "--archive", "--delete", "-z"]
args ||= ["--verbose", "--archive", "--delete", "-z", "--copy-links"]
# On Windows, we have to set a default chmod flag to avoid permission issues
if Vagrant::Util::Platform.windows? && !args.any? { |arg| arg.start_with?("--chmod=") }