providers/virtualbox: check for outdated on any start
This commit is contained in:
parent
bfca65b098
commit
1a5ad9f3d5
|
@ -246,6 +246,7 @@ module VagrantPlugins
|
|||
Vagrant::Action::Builder.new.tap do |b|
|
||||
b.use CheckVirtualbox
|
||||
b.use ConfigValidate
|
||||
b.use BoxCheckOutdated
|
||||
b.use Call, IsRunning do |env, b2|
|
||||
# If the VM is running, then our work here is done, exit
|
||||
if env[:result]
|
||||
|
@ -307,7 +308,6 @@ module VagrantPlugins
|
|||
end
|
||||
|
||||
b.use ConfigValidate
|
||||
b.use BoxCheckOutdated
|
||||
b.use Call, Created do |env, b2|
|
||||
# If the VM is NOT created yet, then do the setup steps
|
||||
if !env[:result]
|
||||
|
|
Loading…
Reference in New Issue