Permalink
Browse files

Fix apt prompting for yes/no.

  • Loading branch information...
1 parent 09f90cf commit 4590a47e380e917651a63e67dc202c547a916a66 @onyxfish onyxfish committed Sep 20, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 setup_panda.sh
View
@@ -16,15 +16,15 @@ ln -s /etc/init.d/ssh /etc/rc4.d/S20ssh
ln -s /etc/init.d/ssh /etc/rc5.d/S20ssh
# Install outstanding updates
-apt-get update
-apt-get upgrade
+apt-get --yes update
+apt-get --yes upgrade
# Configure unattended upgrades
wget -P /etc/apt/apt.conf.d $CONFIG_URL/10periodic
service unattended-upgrades restart
# Install required packages
-apt-get install git postgresql-8.4 python2.7-dev git\
+apt-get install --yes git postgresql-8.4 python2.7-dev git\
libxml2-dev libxml2 nginx build-essential\
openjdk-6-jdk solr-jetty virtualenvwrapper
pip install uwsgi

0 comments on commit 4590a47

Please sign in to comment.