Fix junk output for ssh-config. [closes GH-189]
This commit is contained in:
parent
6337cefb8b
commit
dcb06a0e43
|
@ -1,5 +1,6 @@
|
|||
## 0.6.6 (unreleased)
|
||||
|
||||
- Fix "junk" output for ssh-config. [GH-189]
|
||||
- Fix port collision handling with greater than two VMs. [GH-185]
|
||||
- Fix potential infinite loop with root path if bad CWD is given to environment.
|
||||
|
||||
|
|
|
@ -9,12 +9,12 @@ module Vagrant
|
|||
vm = target_vms.first
|
||||
raise Errors::VMNotCreatedError.new if !vm.created?
|
||||
|
||||
env.ui.info(Util::TemplateRenderer.render("ssh_config", {
|
||||
$stdout.puts(Util::TemplateRenderer.render("ssh_config", {
|
||||
:host_key => options[:host] || "vagrant",
|
||||
:ssh_user => vm.env.config.ssh.username,
|
||||
:ssh_port => vm.ssh.port,
|
||||
:private_key_path => vm.env.config.ssh.private_key_path
|
||||
}), :prefix => false)
|
||||
}))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue