diff --git a/plugins/provisioners/docker/cap/debian/docker_install.rb b/plugins/provisioners/docker/cap/debian/docker_install.rb index d1dd0222a..11f748632 100644 --- a/plugins/provisioners/docker/cap/debian/docker_install.rb +++ b/plugins/provisioners/docker/cap/debian/docker_install.rb @@ -4,13 +4,10 @@ module VagrantPlugins module Debian module DockerInstall def self.docker_install(machine, version) - package = 'docker-engine' - package << "-#{version}" if version != :latest - machine.communicate.tap do |comm| - comm.sudo("apt-get update -y") - comm.sudo("apt-get install -y --force-yes -q curl") - comm.sudo("apt-get purge -y lxc-docker*") + comm.sudo("apt-get update -qq -y") + comm.sudo("apt-get install -qq -y --force-yes curl") + comm.sudo("apt-get purge -qq -y lxc-docker*") comm.sudo("curl -sSL https://get.docker.com/ | sh") end end diff --git a/plugins/provisioners/docker/cap/redhat/docker_install.rb b/plugins/provisioners/docker/cap/redhat/docker_install.rb index 7afd30587..4f1756df9 100644 --- a/plugins/provisioners/docker/cap/redhat/docker_install.rb +++ b/plugins/provisioners/docker/cap/redhat/docker_install.rb @@ -9,8 +9,8 @@ module VagrantPlugins end machine.communicate.tap do |comm| - comm.sudo("yum -y update") - comm.sudo("yum -y remove docker-io*") + comm.sudo("yum -q -y update") + comm.sudo("yum -q -y remove docker-io*") comm.sudo("curl -sSL https://get.docker.com/ | sh") end