Set disabled even if no disabled option

to override the previous settings
This commit is contained in:
YungSang 2014-05-13 15:07:23 -07:00
parent 80e2b89242
commit 2c688fda16
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ module VagrantPlugins
options ||= {} options ||= {}
options[:guestpath] = guestpath.to_s.gsub(/\/$/, '') options[:guestpath] = guestpath.to_s.gsub(/\/$/, '')
options[:hostpath] = hostpath options[:hostpath] = hostpath
options[:disabled] = options[:disabled] || false
options = (@__synced_folders[options[:guestpath]] || {}). options = (@__synced_folders[options[:guestpath]] || {}).
merge(options.dup) merge(options.dup)