From 350da6e1d53ec897306a56d99c887d24b712df05 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 2 Dec 2015 17:53:08 -0800 Subject: [PATCH] commands/ssh_config: output machine readable output --- plugins/commands/ssh_config/command.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/commands/ssh_config/command.rb b/plugins/commands/ssh_config/command.rb index 94e89c141..320c8ace5 100644 --- a/plugins/commands/ssh_config/command.rb +++ b/plugins/commands/ssh_config/command.rb @@ -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