diff --git a/lib/vagrant/ui/remote.rb b/lib/vagrant/ui/remote.rb index 398ad6453..0884745a3 100644 --- a/lib/vagrant/ui/remote.rb +++ b/lib/vagrant/ui/remote.rb @@ -29,6 +29,7 @@ module Vagrant def ask(message, **opts) opts[:style] ||= :detail + opts[:echo] = true if !opts.key?(:echo) @client.input(message.gsub("%", "%%"), **opts) end diff --git a/plugins/commands/serve/client/terminal.rb b/plugins/commands/serve/client/terminal.rb index 8873bdb44..0449f1cec 100644 --- a/plugins/commands/serve/client/terminal.rb +++ b/plugins/commands/serve/client/terminal.rb @@ -33,7 +33,7 @@ module VagrantPlugins input: SDK::TerminalUI::Event::Input.new( prompt: prompt, style: STYLE[:info], - secret: !!opts[:echo] + secret: !opts[:echo] ) ), ].each