Prevent secret.py from being removed by rsync

This commit is contained in:
Martin Pépin 2017-05-17 09:55:26 +01:00
parent f056e6940c
commit 21de45b42a

5
Vagrantfile vendored
View file

@ -17,6 +17,11 @@ Vagrant.configure(2) do |config|
config.vm.network :forwarded_port, guest: 80, host: 8080
config.vm.network :forwarded_port, guest: 8000, host: 8000
# Override the synced folder configuration to prevent the secret file from
# being removed.
config.vm.synced_folder ".", "/vagrant",
rsync__exclude: [".git/", ".vagrant/", "evenementiel/settings/secret.py"]
# Create a private network, which allows host-only access to the machine
# using a specific IP.
# config.vm.network "private_network", ip: "192.168.33.10"