providers/docker: validate config after HandleBox [GH-5667]

This commit is contained in:
Mitchell Hashimoto 2015-07-08 17:45:32 -06:00
parent 5f121c44e2
commit 9dd87b289e
1 changed files with 1 additions and 2 deletions

View File

@ -20,14 +20,13 @@ module VagrantPlugins
# container, configuring metadata, and booting.
def self.action_up
Vagrant::Action::Builder.new.tap do |b|
b.use ConfigValidate
b.use Call, IsState, :not_created do |env, b2|
if env[:result]
b2.use HandleBox
end
end
b.use ConfigValidate
b.use HostMachine
# Yeah, this is supposed to be here twice (once more above). This