commands/ssh_config: output machine readable output

This commit is contained in:
Mitchell Hashimoto 2015-12-02 17:53:08 -08:00
parent 5c4e71e317
commit 350da6e1d5
1 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,9 @@ module VagrantPlugins
# Render the template and output directly to STDOUT
template = "commands/ssh_config/config"
safe_puts(Vagrant::Util::TemplateRenderer.render(template, variables))
config = Vagrant::Util::TemplateRenderer.render(template, variables)
machine.ui.machine("ssh-config", config)
safe_puts(config)
safe_puts
end