Also handle false value for compatibility

This commit is contained in:
Chris Roberts 2018-07-30 11:58:49 -07:00
parent e3e3a332b3
commit ba908052ec
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ module Vagrant
end
# no strict hostkey checking unless paranoid
if ssh_info[:verify_host_key] == :never
if ssh_info[:verify_host_key] == :never || !ssh_info[:verify_host_key]
command_options += [
"-o", "StrictHostKeyChecking=no",
"-o", "UserKnownHostsFile=/dev/null"]