Sync folder now specifies id

Vagrant 1.1.5 seems to think we are overriding a previous shared folder
in our script. Passing the id solves this.
This commit is contained in:
Shawn Holmes 2013-04-05 08:42:05 -06:00
parent 5273657537
commit acbf4cb412
1 changed files with 1 additions and 1 deletions

2
Vagrantfile vendored
View File

@ -28,7 +28,7 @@ Vagrant.configure("2") do |config|
config.vm.network :forwarded_port, guest: 1080, host: 4080 # Mailcatcher
nfs_setting = RUBY_PLATFORM =~ /darwin/ || RUBY_PLATFORM =~ /linux/
config.vm.synced_folder ".", "/vagrant", :nfs => nfs_setting
config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", :nfs => nfs_setting
chef_cookbooks_path = ["chef/cookbooks"]