From ec4a52559af5a54a0f27f10446391e7f40fecf0f Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Fri, 5 Sep 2014 20:52:03 +0200 Subject: [PATCH] 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. --- lib/vagrant-lxc/action.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/vagrant-lxc/action.rb b/lib/vagrant-lxc/action.rb index 19dae69..b699c28 100644 --- a/lib/vagrant-lxc/action.rb +++ b/lib/vagrant-lxc/action.rb @@ -101,6 +101,7 @@ module Vagrant def self.action_start Builder.new.tap do |b| b.use Builtin::ConfigValidate + b.use Builtin::BoxCheckOutdated b.use Builtin::Call, Builtin::IsState, :running do |env, b2| # If the VM is running, then our work here is done, exit next if env[:result]