summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-06-29 20:37:44 +0200
committervarac <varacanero@zeromail.org>2016-06-29 20:38:07 +0200
commit93f5c2e6f1bc222adec291371ca0fb9e9bf9226e (patch)
tree10f22b5637468670961ef62e32e6297cb024a90a
parent3d3bd5e6b007578b2b6fe1e368d776c6a27bf976 (diff)
Revert "Don't use rsync on windows/vagrant by default"
This reverts commit dd1c1ee473364e2b298ee4fbdf11abc2894932d8.
-rw-r--r--Vagrantfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile
index 828382b9..ad247dc4 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -22,6 +22,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
end
end
+ if /mswin|mingw/ =~ RUBY_PLATFORM
+ config.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: ".git/"
+ end
+
config.vm.provider "libvirt" do |v, override|
v.memory = 1024
override.vm.network :forwarded_port, guest: 3333, guest_ip: '127.0.0.1', host: 3333