providers/docker: validate config after HandleBox [GH-5667]
This commit is contained in:
parent
5f121c44e2
commit
9dd87b289e
|
@ -20,14 +20,13 @@ module VagrantPlugins
|
||||||
# container, configuring metadata, and booting.
|
# container, configuring metadata, and booting.
|
||||||
def self.action_up
|
def self.action_up
|
||||||
Vagrant::Action::Builder.new.tap do |b|
|
Vagrant::Action::Builder.new.tap do |b|
|
||||||
b.use ConfigValidate
|
|
||||||
|
|
||||||
b.use Call, IsState, :not_created do |env, b2|
|
b.use Call, IsState, :not_created do |env, b2|
|
||||||
if env[:result]
|
if env[:result]
|
||||||
b2.use HandleBox
|
b2.use HandleBox
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
b.use ConfigValidate
|
||||||
b.use HostMachine
|
b.use HostMachine
|
||||||
|
|
||||||
# Yeah, this is supposed to be here twice (once more above). This
|
# Yeah, this is supposed to be here twice (once more above). This
|
||||||
|
|
Loading…
Reference in New Issue