diff --git a/lib/vagrant/commands/base.rb b/lib/vagrant/commands/base.rb index 18f009b2d..d1b1db2a0 100644 --- a/lib/vagrant/commands/base.rb +++ b/lib/vagrant/commands/base.rb @@ -105,14 +105,9 @@ module Vagrant if args[0] send(single_method, args[0]) else - threads = [] env.vms.keys.each do |name| - threads << Thread.new do - send(single_method, name) - end + send(single_method, name) end - - threads.each { |t| t.join } end end diff --git a/vagrant.gemspec b/vagrant.gemspec index b5d1a011c..e7d88202f 100644 --- a/vagrant.gemspec +++ b/vagrant.gemspec @@ -71,6 +71,7 @@ Gem::Specification.new do |s| "lib/vagrant/commands/halt.rb", "lib/vagrant/commands/init.rb", "lib/vagrant/commands/package.rb", + "lib/vagrant/commands/provision.rb", "lib/vagrant/commands/reload.rb", "lib/vagrant/commands/resume.rb", "lib/vagrant/commands/ssh.rb", @@ -146,6 +147,7 @@ Gem::Specification.new do |s| "test/vagrant/commands/halt_test.rb", "test/vagrant/commands/init_test.rb", "test/vagrant/commands/package_test.rb", + "test/vagrant/commands/provision_test.rb", "test/vagrant/commands/reload_test.rb", "test/vagrant/commands/resume_test.rb", "test/vagrant/commands/ssh_config_test.rb", @@ -231,6 +233,7 @@ Gem::Specification.new do |s| "test/vagrant/commands/box/add_test.rb", "test/vagrant/commands/box/list_test.rb", "test/vagrant/commands/up_test.rb", + "test/vagrant/commands/provision_test.rb", "test/vagrant/commands/resume_test.rb", "test/vagrant/commands/ssh_test.rb", "test/vagrant/resource_logger_test.rb",