Merge pull request #63 from dtroyer/2-checkout-devstack

checkout devstack
This commit is contained in:
Jesse Andrews 2011-10-21 11:32:46 -07:00
commit 47d265b060

View File

@ -99,11 +99,10 @@ git_clone $DASH_REPO $DEST/dash $DASH_BRANCH
git_clone $NOVACLIENT_REPO $DEST/python-novaclient $NOVACLIENT_BRANCH git_clone $NOVACLIENT_REPO $DEST/python-novaclient $NOVACLIENT_BRANCH
git_clone $OPENSTACKX_REPO $DEST/openstackx $OPENSTACKX_BRANCH git_clone $OPENSTACKX_REPO $DEST/openstackx $OPENSTACKX_BRANCH
# Use this version of devstack? # Use this version of devstack
if [ "$USE_CURRENT_DEVSTACK" = "1" ]; then rm -rf $CHROOTCACHE/natty-stack/$DEST/devstack
rm -rf $CHROOTCACHE/natty-stack/$DEST/devstack cp -pr $CWD $CHROOTCACHE/natty-stack/$DEST/devstack
cp -pr $CWD $CHROOTCACHE/natty-stack/$DEST/devstack chroot $CHROOTCACHE/natty-stack chown -R stack $DEST/devstack
fi
# Configure host network for DHCP # Configure host network for DHCP
mkdir -p $CHROOTCACHE/natty-stack/etc/network mkdir -p $CHROOTCACHE/natty-stack/etc/network