Use SSL to download docker gpg key.

Fixed #4569
This commit is contained in:
Miguel Perez 2014-10-06 14:15:52 -04:00 committed by Miguel Perez
parent 6986a8eeb2
commit 307c670154
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ module VagrantPlugins
end
comm.sudo("apt-get update -y")
comm.sudo("apt-get install -y --force-yes -q curl")
comm.sudo("curl http://get.docker.io/gpg | apt-key add -")
comm.sudo("curl https://get.docker.io/gpg | apt-key add -")
comm.sudo("echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list")
comm.sudo("apt-get update")
comm.sudo("echo lxc lxc/directory string /var/lib/lxc | debconf-set-selections")