core: machine output provider info for the machine

This commit is contained in:
Mitchell Hashimoto 2015-12-01 17:06:34 -08:00
parent cee517d963
commit 5c4e71e317
1 changed files with 4 additions and 0 deletions

View File

@ -144,6 +144,10 @@ module Vagrant
if state.id == MachineState::NOT_CREATED_ID if state.id == MachineState::NOT_CREATED_ID
self.id = nil self.id = nil
end 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 end
# This calls an action on the provider. The provider may or may not # This calls an action on the provider. The provider may or may not