providers/docker: don't show cmd if one is not specified
This commit is contained in:
parent
685bdbf1f0
commit
a2b4f31916
|
@ -33,7 +33,7 @@ module VagrantPlugins
|
||||||
env[:ui].output(I18n.t("docker_provider.creating"))
|
env[:ui].output(I18n.t("docker_provider.creating"))
|
||||||
env[:ui].detail(" Name: #{params[:name]}")
|
env[:ui].detail(" Name: #{params[:name]}")
|
||||||
env[:ui].detail(" Image: #{params[:image]}")
|
env[:ui].detail(" Image: #{params[:image]}")
|
||||||
if params[:cmd]
|
if params[:cmd] && !params[:cmd].empty?
|
||||||
env[:ui].detail(" Cmd: #{params[:cmd].join(" ")}")
|
env[:ui].detail(" Cmd: #{params[:cmd].join(" ")}")
|
||||||
end
|
end
|
||||||
params[:volumes].each do |volume|
|
params[:volumes].each do |volume|
|
||||||
|
|
Loading…
Reference in New Issue