Merge pull request #4638 from julienvey/ssh_log_level
Allow SSH LogLevel to be overridden in Vagrant.Util.SSH.exec
This commit is contained in:
commit
bed1f8335f
|
@ -102,12 +102,14 @@ module Vagrant
|
|||
options[:username] = ssh_info[:username]
|
||||
options[:private_key_path] = ssh_info[:private_key_path]
|
||||
|
||||
log_level = ssh_info[:log_level] || "FATAL"
|
||||
|
||||
# Command line options
|
||||
command_options = [
|
||||
"-p", options[:port].to_s,
|
||||
"-o", "Compression=yes",
|
||||
"-o", "DSAAuthentication=yes",
|
||||
"-o", "LogLevel=FATAL",
|
||||
"-o", "LogLevel=#{log_level}",
|
||||
"-o", "StrictHostKeyChecking=no",
|
||||
"-o", "UserKnownHostsFile=/dev/null"]
|
||||
|
||||
|
|
Loading…
Reference in New Issue