瀏覽代碼

Vagrantfile: rsync symlinks as symlinks, fixes #592

Thomas Waldmann 9 年之前
父節點
當前提交
777fc89d3f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Vagrantfile

+ 1 - 1
Vagrantfile

@@ -273,7 +273,7 @@ end
 
 Vagrant.configure(2) do |config|
   # use rsync to copy content to the folder
-  config.vm.synced_folder ".", "/vagrant/borg/borg", :type => "rsync"
+  config.vm.synced_folder ".", "/vagrant/borg/borg", :type => "rsync", :rsync__args => ["--verbose", "--archive", "--delete", "-z"]
   # do not let the VM access . on the host machine via the default shared folder!
   config.vm.synced_folder ".", "/vagrant", disabled: true