Suppress the "added to known hosts file" warning
Vagrant already disables StrictHostKeyChecking and redirects UserKnownHostsFile to /dev/null, so we may as well suppress the meaningless warning also.
This commit is contained in:
parent
9589369fd9
commit
efd7c790e6
|
@ -42,7 +42,7 @@ module Vagrant
|
|||
# Command line options
|
||||
command_options = ["-p #{options[:port]}", "-o UserKnownHostsFile=/dev/null",
|
||||
"-o StrictHostKeyChecking=no", "-o IdentitiesOnly=yes",
|
||||
"-i #{options[:private_key_path]}"]
|
||||
"-i #{options[:private_key_path]}", "-o LogLevel=ERROR"]
|
||||
command_options << "-o ForwardAgent=yes" if env.config.ssh.forward_agent
|
||||
|
||||
if env.config.ssh.forward_x11
|
||||
|
|
Loading…
Reference in New Issue