provisioners/docker: Only assign the `image` config in case it was not specified

This commit is contained in:
Fabio Rehm 2013-12-05 22:12:44 -02:00
parent b484c8d628
commit 8688c6b8b2
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ module VagrantPlugins
def run(name, **options) def run(name, **options)
params = options.dup params = options.dup
params[:image] = name params[:image] ||= name
# TODO: Validate provided parameters before assignment # TODO: Validate provided parameters before assignment
@containers[name.to_s] = params @containers[name.to_s] = params