diff --git a/libmachine/provision/debian.go b/libmachine/provision/debian.go index 5b31ae894d..9ad9302d85 100644 --- a/libmachine/provision/debian.go +++ b/libmachine/provision/debian.go @@ -62,13 +62,10 @@ func (provisioner *DebianProvisioner) Package(name string, action pkgaction.Pack if action == pkgaction.Upgrade && name == "docker-engine" { // run the force remove on the existing lxc-docker package // and remove the existing apt source list - // also re-run the get.docker.com script to properly setup - // the system again commands := []string{ "rm /etc/apt/sources.list.d/docker.list || true", "apt-get remove -y lxc-docker || true", - "curl -sSL https://get.docker.com | sh", } for _, cmd := range commands { diff --git a/libmachine/provision/ubuntu_systemd.go b/libmachine/provision/ubuntu_systemd.go index cfec5fdb18..e6dd716786 100644 --- a/libmachine/provision/ubuntu_systemd.go +++ b/libmachine/provision/ubuntu_systemd.go @@ -78,13 +78,10 @@ func (provisioner *UbuntuSystemdProvisioner) Package(name string, action pkgacti if action == pkgaction.Upgrade && name == "docker-engine" { // run the force remove on the existing lxc-docker package // and remove the existing apt source list - // also re-run the get.docker.com script to properly setup - // the system again commands := []string{ "rm /etc/apt/sources.list.d/docker.list || true", "apt-get remove -y lxc-docker || true", - "curl -sSL https://get.docker.com | sh", } for _, cmd := range commands { diff --git a/libmachine/provision/ubuntu_upstart.go b/libmachine/provision/ubuntu_upstart.go index 3e69de2218..97860f2548 100644 --- a/libmachine/provision/ubuntu_upstart.go +++ b/libmachine/provision/ubuntu_upstart.go @@ -97,13 +97,10 @@ func (provisioner *UbuntuProvisioner) Package(name string, action pkgaction.Pack if action == pkgaction.Upgrade && name == "docker-engine" { // run the force remove on the existing lxc-docker package // and remove the existing apt source list - // also re-run the get.docker.com script to properly setup - // the system again commands := []string{ "rm /etc/apt/sources.list.d/docker.list || true", "apt-get remove -y lxc-docker || true", - "curl -sSL https://get.docker.com | sh", } for _, cmd := range commands {