From ae14f951248194ac933de508c347668ade54c92d Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Thu, 19 Jul 2018 10:31:32 -0700 Subject: [PATCH] Properly downcase answer for check. Default response to no. --- lib/vagrant/environment.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/vagrant/environment.rb b/lib/vagrant/environment.rb index 53edce6b0..5fcc7654d 100644 --- a/lib/vagrant/environment.rb +++ b/lib/vagrant/environment.rb @@ -942,8 +942,9 @@ module Vagrant if !Vagrant.auto_install_local_plugins? answer = nil until ["y", "n"].include?(answer) - answer = ui.ask(I18n.t("vagrant.plugins.local.request_plugin_install") + ": ") - answer.strip.downcase! + answer = ui.ask(I18n.t("vagrant.plugins.local.request_plugin_install") + " [N]: ") + answer.strip!.downcase! + answer = "n" if answer.to_s.empty? end if answer == "n" raise Errors::PluginMissingLocalError,