From 2c688fda16fa64ef031050e6b878aaf9f8036cbd Mon Sep 17 00:00:00 2001 From: YungSang Date: Tue, 13 May 2014 15:07:23 -0700 Subject: [PATCH] Set disabled even if no disabled option to override the previous settings --- plugins/kernel_v2/config/vm.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/kernel_v2/config/vm.rb b/plugins/kernel_v2/config/vm.rb index 13481ef15..edc47c39a 100644 --- a/plugins/kernel_v2/config/vm.rb +++ b/plugins/kernel_v2/config/vm.rb @@ -186,6 +186,7 @@ module VagrantPlugins options ||= {} options[:guestpath] = guestpath.to_s.gsub(/\/$/, '') options[:hostpath] = hostpath + options[:disabled] = options[:disabled] || false options = (@__synced_folders[options[:guestpath]] || {}). merge(options.dup)