From f9fff05e37913b0b2801a7989b2f1e33f08f2f93 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 8 Mar 2010 21:13:03 -0800 Subject: [PATCH] Reload uses the new 'boot' action --- lib/vagrant/actions/vm/reload.rb | 2 +- test/vagrant/actions/vm/reload_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vagrant/actions/vm/reload.rb b/lib/vagrant/actions/vm/reload.rb index bb6eaa356..d699e0ff5 100644 --- a/lib/vagrant/actions/vm/reload.rb +++ b/lib/vagrant/actions/vm/reload.rb @@ -3,7 +3,7 @@ module Vagrant module VM class Reload < Base def prepare - steps = [ForwardPorts, SharedFolders, Start] + steps = [ForwardPorts, SharedFolders, Boot] steps.unshift(Halt) if @runner.vm.running? steps << Provision if Vagrant.config.chef.enabled diff --git a/test/vagrant/actions/vm/reload_test.rb b/test/vagrant/actions/vm/reload_test.rb index b00ecd7bb..9218390ff 100644 --- a/test/vagrant/actions/vm/reload_test.rb +++ b/test/vagrant/actions/vm/reload_test.rb @@ -8,7 +8,7 @@ class ReloadActionTest < Test::Unit::TestCase context "sub-actions" do setup do - @default_order = [Vagrant::Actions::VM::ForwardPorts, Vagrant::Actions::VM::SharedFolders, Vagrant::Actions::VM::Start] + @default_order = [Vagrant::Actions::VM::ForwardPorts, Vagrant::Actions::VM::SharedFolders, Vagrant::Actions::VM::Boot] @vm.stubs(:running?).returns(false) end