diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-10-07 09:07:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-07 09:07:09 -0700 |
commit | 6a9e6764e63c956b0a7b6e4b6a5d5f241cee0f37 (patch) | |
tree | 3c308fe9780692e50476de86ff82ba2959a97112 | |
parent | 1a0c4c533be9e8a35a6fa8650e7a478f19d90ae6 (diff) | |
parent | 0cea7a0055a40902bd93e3540f3e4e701b4ba9c0 (diff) | |
download | chef-6a9e6764e63c956b0a7b6e4b6a5d5f241cee0f37.tar.gz |
Merge pull request #5427 from chef/lcg/cmdline-password-for-sudo
kinfe ssh: use the command line prompt for sudo if set
-rw-r--r-- | lib/chef/knife/ssh.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |