Browse code

--force-yes when installing cache

Anthony Young authored on 2011/09/20 12:23:42
Showing 1 changed files
... ...
@@ -60,7 +60,7 @@ if [ ! -d $CACHEDIR ]; then
60 60
     # trigger the initial debootstrap
61 61
     lxc-create -n $CONTAINER -t natty -f $LXC_CONF
62 62
     chroot $CACHEDIR apt-get update
63
-    chroot $CACHEDIR apt-get install -y `cat files/apts/* | cut -d\# -f1 | egrep -v "(rabbitmq|libvirt-bin|mysql-server)"`
63
+    chroot $CACHEDIR apt-get install -y --force-yes `cat files/apts/* | cut -d\# -f1 | egrep -v "(rabbitmq|libvirt-bin|mysql-server)"`
64 64
     chroot $CACHEDIR pip install `cat files/pips/*`
65 65
     git clone https://github.com/cloudbuilders/nova.git $CACHEDIR/opt/nova
66 66
     git clone https://github.com/cloudbuilders/openstackx.git $CACHEDIR/opt/openstackx