Browse code

add -y for apt-get installs

Anthony Young authored on 2011/09/20 11:49:20
Showing 1 changed files
... ...
@@ -19,11 +19,11 @@ if ! grep -q natty /etc/lsb-release; then
19 19
 fi
20 20
 
21 21
 # Install deps
22
-apt-get install lxc debootstrap
22
+apt-get install -y lxc debootstrap
23 23
 
24 24
 # Install cgroup-bin from source, since the packaging is buggy and possibly incompatible with our setup
25 25
 if ! which cgdelete | grep -q cgdelete; then
26
-    apt-get install g++ bison flex libpam0g-dev
26
+    apt-get install -y g++ bison flex libpam0g-dev
27 27
     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 
28 28
     cd /tmp && bunzip2 libcgroup-0.37.1.tar.bz2  && tar xfv libcgroup-0.37.1.tar
29 29
     cd libcgroup-0.37.1