From 364488eba82f188c642c490ad265e7a9dbc2c399 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=A4hr?= Date: Sun, 22 Dec 2013 18:48:14 +0100 Subject: [PATCH] Set default value to avoid a prompt --- plugins/provisioners/docker/cap/debian/docker_install.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/provisioners/docker/cap/debian/docker_install.rb b/plugins/provisioners/docker/cap/debian/docker_install.rb index 8d5773465..22c7eee78 100644 --- a/plugins/provisioners/docker/cap/debian/docker_install.rb +++ b/plugins/provisioners/docker/cap/debian/docker_install.rb @@ -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