From e38ae9b5c63eff166c8052a00e3cb4a8df6697bb Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 20 Apr 2014 08:25:56 -0700 Subject: [PATCH] providers/docker: don't guard for image on create, since can come from build --- plugins/providers/docker/action/create.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/plugins/providers/docker/action/create.rb b/plugins/providers/docker/action/create.rb index f49fce568..031573e52 100644 --- a/plugins/providers/docker/action/create.rb +++ b/plugins/providers/docker/action/create.rb @@ -13,8 +13,6 @@ module VagrantPlugins @machine_config = @machine.config @driver = @machine.provider.driver - guard_cmd_configured! - params = create_params env[:ui].output(I18n.t("docker_provider.creating")) @@ -82,12 +80,6 @@ module VagrantPlugins "#{fp[:host]}:#{fp[:guest]}" end.compact end - - def guard_cmd_configured! - if ! @provider_config.image - raise Errors::ImageNotConfiguredError, name: @machine.name - end - end end end end