From 856d09f6a0f84c5feae6bc64b23f6acac20bdca1 Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Mon, 19 Sep 2011 19:49:20 -0700 Subject: [PATCH] add -y for apt-get installs --- build_lxc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_lxc.sh b/build_lxc.sh index c1ddd95..0d49e29 100755 --- a/build_lxc.sh +++ b/build_lxc.sh @@ -19,11 +19,11 @@ if ! grep -q natty /etc/lsb-release; then fi # Install deps -apt-get install lxc debootstrap +apt-get install -y lxc debootstrap # Install cgroup-bin from source, since the packaging is buggy and possibly incompatible with our setup if ! which cgdelete | grep -q cgdelete; then - apt-get install g++ bison flex libpam0g-dev + apt-get install -y g++ bison flex libpam0g-dev wget http://sourceforge.net/projects/libcg/files/libcgroup/v0.37.1/libcgroup-0.37.1.tar.bz2/download -O /tmp/libcgroup-0.37.1.tar.bz2 cd /tmp && bunzip2 libcgroup-0.37.1.tar.bz2 && tar xfv libcgroup-0.37.1.tar cd libcgroup-0.37.1