synced_folders/rsync: copy symlinks as real files [GH-3734]
This commit is contained in:
parent
190ba4cd27
commit
2a973df440
|
@ -25,6 +25,7 @@ BUG FIXES:
|
||||||
- providers/docker: fix container linking [GH-3719]
|
- providers/docker: fix container linking [GH-3719]
|
||||||
- providers/docker: Port settings expose to host properly. [GH-3723]
|
- providers/docker: Port settings expose to host properly. [GH-3723]
|
||||||
- provisioners/puppet: Separate module paths with ';' on Windows. [GH-3731]
|
- 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)
|
## 1.6.1 (May 7, 2014)
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@ module VagrantPlugins
|
||||||
# Get the command-line arguments
|
# Get the command-line arguments
|
||||||
args = nil
|
args = nil
|
||||||
args = Array(opts[:args]) if opts[:args]
|
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
|
# 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=") }
|
if Vagrant::Util::Platform.windows? && !args.any? { |arg| arg.start_with?("--chmod=") }
|
||||||
|
|
Loading…
Reference in New Issue