providers/virtualbox: check for outdated on any start

This commit is contained in:
Mitchell Hashimoto 2014-01-24 15:44:26 -08:00
parent bfca65b098
commit 1a5ad9f3d5
1 changed files with 1 additions and 1 deletions

View File

@ -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]