providers/docker: don't guard for image on create, since can come from build

This commit is contained in:
Mitchell Hashimoto 2014-04-20 08:25:56 -07:00
parent 1c3ee6ffa3
commit e38ae9b5c6
1 changed files with 0 additions and 8 deletions

View File

@ -13,8 +13,6 @@ module VagrantPlugins
@machine_config = @machine.config @machine_config = @machine.config
@driver = @machine.provider.driver @driver = @machine.provider.driver
guard_cmd_configured!
params = create_params params = create_params
env[:ui].output(I18n.t("docker_provider.creating")) env[:ui].output(I18n.t("docker_provider.creating"))
@ -82,12 +80,6 @@ module VagrantPlugins
"#{fp[:host]}:#{fp[:guest]}" "#{fp[:host]}:#{fp[:guest]}"
end.compact end.compact
end end
def guard_cmd_configured!
if ! @provider_config.image
raise Errors::ImageNotConfiguredError, name: @machine.name
end
end
end end
end end
end end