Merge pull request #2707 from tobiasbaehr/patch-1

guests/debian: Docker: Set default value to avoid a prompt (lxc/directory)
This commit is contained in:
Mitchell Hashimoto 2013-12-22 10:14:31 -08:00
commit 594ea17003
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ module VagrantPlugins
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")
comm.sudo("apt-get update")
comm.sudo("echo lxc lxc/directory string /var/lib/lxc | debconf-set-selections")
comm.sudo("apt-get install -y --force-yes -q xz-utils #{package} -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold'")
end
end