provisioners/docker: Only assign the `image` config in case it was not specified
This commit is contained in:
parent
b484c8d628
commit
8688c6b8b2
|
@ -22,7 +22,7 @@ module VagrantPlugins
|
|||
|
||||
def run(name, **options)
|
||||
params = options.dup
|
||||
params[:image] = name
|
||||
params[:image] ||= name
|
||||
|
||||
# TODO: Validate provided parameters before assignment
|
||||
@containers[name.to_s] = params
|
||||
|
|
Loading…
Reference in New Issue