Always use current devstack in ramdisk
This commit is contained in:
parent
f6fd4dcf2e
commit
b5da51972c
2 changed files with 4 additions and 11 deletions
4
stackrc
4
stackrc
|
@ -27,10 +27,6 @@ NOVACLIENT_BRANCH=master
|
||||||
OPENSTACKX_REPO=https://github.com/cloudbuilders/openstackx.git
|
OPENSTACKX_REPO=https://github.com/cloudbuilders/openstackx.git
|
||||||
OPENSTACKX_BRANCH=diablo
|
OPENSTACKX_BRANCH=diablo
|
||||||
|
|
||||||
# devstack is this collection of scripts
|
|
||||||
DEVSTACK_REPO=https://github.com/cloudbuilders/devstack.git
|
|
||||||
DEVSTACK_BRANCH=master
|
|
||||||
|
|
||||||
# allow local overrides of env variables
|
# allow local overrides of env variables
|
||||||
if [ -f ./localrc ]; then
|
if [ -f ./localrc ]; then
|
||||||
source ./localrc
|
source ./localrc
|
||||||
|
|
|
@ -96,13 +96,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
|
||||||
else
|
chroot $CHROOTCACHE/natty-stack chown -R stack $DEST/devstack
|
||||||
git_clone $DEVSTACK_REPO $DEST/devstack $DEVSTACK_BRANCH
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue