From e311e38c637a8dd7e17e6ae429e4b138a6217f9d Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Tue, 8 Mar 2016 11:54:10 +0200
Subject: [PATCH] - Disabled default shared folder (set a different folder with
 different path). - Removed unneeded vagrant-rsync-gatling settings. - Enabled
 rsync-auto by default (even if not using gatling). - Exclude *.pyc and
 __pacache__ from rsync.

---
 Vagrantfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Vagrantfile b/Vagrantfile
index d442cea..5000998 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -2,14 +2,14 @@
 # vi: set ft=ruby :
 Vagrant.configure(2) do |config|
   config.vm.box = "debian/jessie64"
+  config.vm.synced_folder ".", "/vagrant", disabled: true
   if Vagrant.has_plugin?("vagrant-gatling-rsync")
-    config.gatling.latency = 2.5
-    config.gatling.time_format = "%H:%M:%S"
     config.gatling.rsync_on_startup = true
   end
   config.vm.synced_folder ".", "/home/vagrant/python-unshare",
     type: "rsync",
-    rsync__exclude: [".cache", ".tox", "*.egg-info", "*.swp", ".DS_Store", ".idea"]
+    auto: true,
+    rsync__exclude: [".cache", ".tox", "*.egg-info", "*.swp", ".DS_Store", ".idea", "*.pyc", "__pycache__"]
   config.vm.provision "shell", inline: <<-SHELL
     sudo apt-get update
     sudo apt-get install -yf build-essential linux-libc-dev python-pip python3-pip git
-- 
GitLab