Skip to content
Snippets Groups Projects
Commit e311e38c authored by nimrod's avatar nimrod
Browse files

- 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.
parent 89aa9321
No related branches found
No related tags found
No related merge requests found
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
# vi: set ft=ruby : # vi: set ft=ruby :
Vagrant.configure(2) do |config| Vagrant.configure(2) do |config|
config.vm.box = "debian/jessie64" config.vm.box = "debian/jessie64"
config.vm.synced_folder ".", "/vagrant", disabled: true
if Vagrant.has_plugin?("vagrant-gatling-rsync") 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 config.gatling.rsync_on_startup = true
end end
config.vm.synced_folder ".", "/home/vagrant/python-unshare", config.vm.synced_folder ".", "/home/vagrant/python-unshare",
type: "rsync", 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 config.vm.provision "shell", inline: <<-SHELL
sudo apt-get update sudo apt-get update
sudo apt-get install -yf build-essential linux-libc-dev python-pip python3-pip git sudo apt-get install -yf build-essential linux-libc-dev python-pip python3-pip git
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment