parent
79006095f5
commit
bdedae40b2
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ module Vagrant
|
||||||
def shared_folders
|
def shared_folders
|
||||||
{}.tap do |result|
|
{}.tap do |result|
|
||||||
@env[:machine].config.vm.synced_folders.each do |id, data|
|
@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
|
# This to prevent overwriting the actual shared folders data
|
||||||
result[id] = data.dup
|
result[id] = data.dup
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue