Resuming works better
This commit is contained in:
parent
a6e5078e4b
commit
d5981978a1
|
@ -7,7 +7,7 @@ module Vagrant
|
|||
end
|
||||
|
||||
def call(env)
|
||||
if env[:vm].vm.saved?
|
||||
if env[:vm].state == :saved
|
||||
env[:ui].info I18n.t("vagrant.actions.vm.resume.resuming")
|
||||
env[:action_runner].run(Boot, env)
|
||||
end
|
||||
|
|
|
@ -127,7 +127,7 @@ module Vagrant
|
|||
|
||||
def start(options=nil)
|
||||
return if state == :running
|
||||
return resume if @vm.saved?
|
||||
return resume if state == :saved
|
||||
|
||||
run_action(:start, options)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue