From 0cea7a0055a40902bd93e3540f3e4e701b4ba9c0 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Thu, 6 Oct 2016 13:51:23 -0700 Subject: use the command line prompt for sudo if set Signed-off-by: Lamont Granquist --- lib/chef/knife/ssh.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/chef/knife/ssh.rb b/lib/chef/knife/ssh.rb index 6f266b2719..f827aca280 100644 --- a/lib/chef/knife/ssh.rb +++ b/lib/chef/knife/ssh.rb @@ -541,6 +541,7 @@ class Chef configure_user configure_password + @password = config[:ssh_password] if config[:ssh_password] configure_ssh_identity_file configure_gateway configure_session -- cgit v1.2.1