diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e273840e..aee0df8fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ BUG FIXES: quickly in a multi-VM environment. - core: Handle the case where we get an EACCES cleaning up the .vagrant directory. + - core: Fix exception on upgrade warnings from V1 to V2. [GH-2142] - provisioners/chef: Work even with restrictive umask on user. [GH-2121] - provisioners/chef: Fix environment validation to be less restrictive. - provisioners/puppet: No more "shared folders cannot be found" error. diff --git a/lib/vagrant/environment.rb b/lib/vagrant/environment.rb index 4ef18f2e1..04b117ba2 100644 --- a/lib/vagrant/environment.rb +++ b/lib/vagrant/environment.rb @@ -419,11 +419,11 @@ module Vagrant level = config_errors.empty? ? :warn : :error output = Util::TemplateRenderer.render( "config/messages", - :name => name, :warnings => config_warnings, :errors => config_errors).chomp - @ui.send(level, I18n.t("vagrant.general.config_upgrade_messages", - :output => output)) + @ui.send(level, I18n.t("vagrant.general.config_upgrade_messages", + name: name, + :output => output)) # If we had errors, then we bail raise Errors::ConfigUpgradeErrors if !config_errors.empty?