provisioners/docker: debian install should apt-get update

This commit is contained in:
Mitchell Hashimoto 2014-04-15 13:04:07 -07:00
parent 544f404037
commit d0b0d5635c
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ module VagrantPlugins
if machine.provider_name != :lxc
comm.sudo("lsmod | grep aufs || modprobe aufs || apt-get install -y linux-image-extra-`uname -r`")
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("echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list")