Machine ID output should be 7 characters.
This commit is contained in:
parent
c6a6fd34a3
commit
731f249c50
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue