add -y for apt-get installs

This commit is contained in:
Anthony Young 2011-09-19 19:49:20 -07:00
parent fbd40d2502
commit 856d09f6a0

View file

@ -19,11 +19,11 @@ if ! grep -q natty /etc/lsb-release; then
fi fi
# Install deps # 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 # Install cgroup-bin from source, since the packaging is buggy and possibly incompatible with our setup
if ! which cgdelete | grep -q cgdelete; then 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 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 /tmp && bunzip2 libcgroup-0.37.1.tar.bz2 && tar xfv libcgroup-0.37.1.tar
cd libcgroup-0.37.1 cd libcgroup-0.37.1