providers/docker: run_command doesn't need to actual setup host machine

This commit is contained in:
Mitchell Hashimoto 2014-04-27 18:28:11 -07:00
parent a8822e84d2
commit ff9de3586a
1 changed files with 6 additions and 1 deletions

View File

@ -10,7 +10,12 @@ module VagrantPlugins
def self.action_run_command
Vagrant::Action::Builder.new.tap do |b|
b.use ConfigValidate
b.use HostMachine
b.use Call, IsState, :host_state_unknown do |env, b2|
if env[:result]
raise "Invalid usage"
end
end
b.use Call, IsState, :not_created do |env, b2|
if env[:result]