Revert "Fix incorrect ssh-config output when '--host' is defined"
This reverts commit c77326438b
.
This commit is contained in:
parent
037de8bd6b
commit
703513bd0f
|
@ -32,10 +32,6 @@ module VagrantPlugins
|
||||||
ssh_info = machine.ssh_info
|
ssh_info = machine.ssh_info
|
||||||
raise Vagrant::Errors::SSHNotReady if ssh_info.nil?
|
raise Vagrant::Errors::SSHNotReady if ssh_info.nil?
|
||||||
|
|
||||||
if options[:host] && options[:host].to_s != machine.name.to_s
|
|
||||||
next
|
|
||||||
end
|
|
||||||
|
|
||||||
variables = {
|
variables = {
|
||||||
host_key: options[:host] || machine.name || "vagrant",
|
host_key: options[:host] || machine.name || "vagrant",
|
||||||
ssh_host: ssh_info[:host],
|
ssh_host: ssh_info[:host],
|
||||||
|
|
Loading…
Reference in New Issue