From 028cad16442924a4457dcbb1a12ec9117934218d Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Mon, 17 Oct 2011 14:10:42 -0700 Subject: [PATCH] better pre-caching --- tools/build_lxc.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/build_lxc.sh b/tools/build_lxc.sh index 580581b83a..193c8f0062 100755 --- a/tools/build_lxc.sh +++ b/tools/build_lxc.sh @@ -125,6 +125,7 @@ fi # Make sure that base requirements are installed chroot $CACHEDIR apt-get update chroot $CACHEDIR apt-get install -y --force-yes `cat files/apts/* | cut -d\# -f1 | egrep -v "(rabbitmq|libvirt-bin|mysql-server)"` +chroot $CACHEDIR apt-get install -y --download-only rabbitmq-server libvirt-bin mysql-server chroot $CACHEDIR pip install `cat files/pips/*` # Clean out code repos if directed to do so @@ -141,6 +142,8 @@ git_clone $NOVNC_REPO $CACHEDIR/$DEST/novnc $NOVNC_BRANCH git_clone $DASH_REPO $CACHEDIR/$DEST/dash $DASH_BRANCH $DASH_TAG git_clone $NOVACLIENT_REPO $CACHEDIR/$DEST/python-novaclient $NOVACLIENT_BRANCH git_clone $OPENSTACKX_REPO $CACHEDIR/$DEST/openstackx $OPENSTACKX_BRANCH +git_clone $KEYSTONE_REPO $CACHEDIR/$DEST/keystone $KEYSTONE_BRANCH +git_clone $NOVNC_REPO $CACHEDIR/$DEST/novnc $NOVNC_BRANCH # Use this version of devstack? if [ "$USE_CURRENT_DEVSTACK" = "1" ]; then