Reload uses the new 'boot' action
This commit is contained in:
parent
456fa731ef
commit
f9fff05e37
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue