Merge pull request #314 from fpletz/fix/box-update-check

Add check for box updates to start action
This commit is contained in:
Fabio Rehm 2014-09-22 22:43:57 -03:00
commit e297ea52b2

View file

@ -101,6 +101,7 @@ module Vagrant
def self.action_start def self.action_start
Builder.new.tap do |b| Builder.new.tap do |b|
b.use Builtin::ConfigValidate b.use Builtin::ConfigValidate
b.use Builtin::BoxCheckOutdated
b.use Builtin::Call, Builtin::IsState, :running do |env, b2| b.use Builtin::Call, Builtin::IsState, :running do |env, b2|
# If the VM is running, then our work here is done, exit # If the VM is running, then our work here is done, exit
next if env[:result] next if env[:result]