Respect Vagrantfile options to disable synced folders

fix #147
This commit is contained in:
Guilhem Lettron 2013-10-10 11:53:10 +02:00
parent 79006095f5
commit bdedae40b2

View file

@ -18,6 +18,8 @@ module Vagrant
def shared_folders
{}.tap do |result|
@env[:machine].config.vm.synced_folders.each do |id, data|
#Ignore disabled shared folders
next if data[:disabled]
# This to prevent overwriting the actual shared folders data
result[id] = data.dup
end