Add check for box updates to start action
This action apparently needs to be added to every provider. See lib/vagrant/plugins/providers/virtualbox/action.rb from the Vagrant source for reference how the virtualbox provider is doing it.
This commit is contained in:
parent
3f7c7ecabf
commit
ec4a52559a
1 changed files with 1 additions and 0 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue