diff --git a/plugins/commands/box/command/list.rb b/plugins/commands/box/command/list.rb index 94a4d3964..033c07d1c 100644 --- a/plugins/commands/box/command/list.rb +++ b/plugins/commands/box/command/list.rb @@ -30,6 +30,9 @@ module VagrantPlugins # and which don't, since we plan on doing that transparently. boxes.each do |name, provider, _v1| @env.ui.info("#{name.ljust(longest_box_length)} (#{provider})", :prefix => false) + + @env.ui.machine("box-name", name) + @env.ui.machine("box-provider", provider) end # Success, exit status 0 diff --git a/website/docs/source/v2/cli/machine-readable.html.md b/website/docs/source/v2/cli/machine-readable.html.md index 5ae81ac6b..8dd7a20fc 100644 --- a/website/docs/source/v2/cli/machine-readable.html.md +++ b/website/docs/source/v2/cli/machine-readable.html.md @@ -73,6 +73,20 @@ with the machine-readable output. +