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:
Will St. Clair 2011-05-05 15:32:02 -05:00 committed by Mitchell Hashimoto
parent 9589369fd9
commit efd7c790e6
1 changed files with 1 additions and 1 deletions

View File

@ -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