From 731f249c5060dda2c3cb1cf974403f4c9fafa934 Mon Sep 17 00:00:00 2001 From: Greg J Preece Date: Wed, 29 May 2019 11:10:33 -0700 Subject: [PATCH] Machine ID output should be 7 characters. --- plugins/commands/global-status/command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/commands/global-status/command.rb b/plugins/commands/global-status/command.rb index 5cfadcc5e..ce8e30784 100644 --- a/plugins/commands/global-status/command.rb +++ b/plugins/commands/global-status/command.rb @@ -69,7 +69,7 @@ module VagrantPlugins @env.ui.machine("metadata", "machine-count", entries.length.to_s); entries.each do |entry| opts = { "target" => entry.send(:name).to_s } - @env.ui.machine("machine-id", entry.send(:id).to_s, opts) + @env.ui.machine("machine-id", entry.send(:id).to_s[0...7], opts) @env.ui.machine("provider-name", entry.send(:provider).to_s, opts) @env.ui.machine("machine-home", entry.send(:vagrantfile_path).to_s, opts) @env.ui.machine("state", entry.send(:state).to_s, opts)