Only install Docker if it is not already installed
This commit is contained in:
parent
f5a0c3ed5b
commit
bad4c2103d
|
@ -14,13 +14,13 @@ module VagrantPlugins
|
|||
return
|
||||
end
|
||||
|
||||
@machine.ui.detail(I18n.t("vagrant.docker_installing"))
|
||||
@machine.guest.capability(:docker_install)
|
||||
if !@machine.guest.capability(:docker_installed)
|
||||
@machine.ui.detail(I18n.t("vagrant.docker_installing"))
|
||||
@machine.guest.capability(:docker_install)
|
||||
end
|
||||
|
||||
if !@machine.guest.capability(:docker_installed)
|
||||
if !@machine.guest.capability(:docker_installed)
|
||||
raise DockerError, :install_failed
|
||||
end
|
||||
raise DockerError, :install_failed
|
||||
end
|
||||
|
||||
if @machine.guest.capability?(:docker_configure_vagrant_user)
|
||||
|
|
Loading…
Reference in New Issue