From fab4ae5dd26e0e45c54112ac343453729f2a015d Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 26 Apr 2010 23:41:42 -0700 Subject: [PATCH] Get rid of the one second sleep on `reload`. A fix was pushed upstream in virtualbox gem which fixes this. --- lib/vagrant/actions/vm/reload.rb | 7 ------- vagrant.gemspec | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/vagrant/actions/vm/reload.rb b/lib/vagrant/actions/vm/reload.rb index 40abf231a..22463dbbf 100644 --- a/lib/vagrant/actions/vm/reload.rb +++ b/lib/vagrant/actions/vm/reload.rb @@ -11,13 +11,6 @@ module Vagrant @runner.add_action(action_klass) end end - - def after_halt - # This sleep is here to allow the VM to clean itself up. There appears - # nothing [obvious] in the VirtualBox API to automate this. For now, this - # is an interim solution. - sleep 1 - end end end end diff --git a/vagrant.gemspec b/vagrant.gemspec index 2e0da1009..a0697b00f 100644 --- a/vagrant.gemspec +++ b/vagrant.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |s| s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version= s.authors = ["Mitchell Hashimoto", "John Bender"] - s.date = %q{2010-04-25} + s.date = %q{2010-04-26} s.default_executable = %q{vagrant} s.description = %q{Vagrant is a tool for building and distributing virtualized development environments.} s.email = ["mitchell.hashimoto@gmail.com", "john.m.bender@gmail.com"]