From 5c4e71e317262b54f7ceace79fe7d8c66b3fda31 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 1 Dec 2015 17:06:34 -0800 Subject: [PATCH] core: machine output provider info for the machine --- lib/vagrant/machine.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/vagrant/machine.rb b/lib/vagrant/machine.rb index e7d547a39..f9ba4bcdf 100644 --- a/lib/vagrant/machine.rb +++ b/lib/vagrant/machine.rb @@ -144,6 +144,10 @@ module Vagrant if state.id == MachineState::NOT_CREATED_ID self.id = nil end + + # Output a bunch of information about this machine in + # machine-readable format in case someone is listening. + @ui.machine("metadata", "provider", provider_name) end # This calls an action on the provider. The provider may or may not