diff --git a/CHANGELOG.md b/CHANGELOG.md index d32de2cf6..d1c72f93d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ BUG FIXES: - core: Provider plugins more easily are compatible with global-status and should show less stale data. [GH-3808] + - core: When setting a synced folder, it will assume it is not disabled + unless explicitly specified. [GH-3783] - commands/package: Package with `--base` for VirtualBox doesn't crash. [GH-3827] - providers/docker: Never do graceful shutdown, always use diff --git a/plugins/kernel_v2/config/vm.rb b/plugins/kernel_v2/config/vm.rb index edc47c39a..bd6de3e24 100644 --- a/plugins/kernel_v2/config/vm.rb +++ b/plugins/kernel_v2/config/vm.rb @@ -186,7 +186,7 @@ module VagrantPlugins options ||= {} options[:guestpath] = guestpath.to_s.gsub(/\/$/, '') options[:hostpath] = hostpath - options[:disabled] = options[:disabled] || false + options[:disabled] = false if !options.has_key?(:disabled) options = (@__synced_folders[options[:guestpath]] || {}). merge(options.dup)