| ... | ... |
@@ -27,10 +27,6 @@ NOVACLIENT_BRANCH=master |
| 27 | 27 |
OPENSTACKX_REPO=https://github.com/cloudbuilders/openstackx.git |
| 28 | 28 |
OPENSTACKX_BRANCH=diablo |
| 29 | 29 |
|
| 30 |
-# devstack is this collection of scripts |
|
| 31 |
-DEVSTACK_REPO=https://github.com/cloudbuilders/devstack.git |
|
| 32 |
-DEVSTACK_BRANCH=master |
|
| 33 |
- |
|
| 34 | 30 |
# allow local overrides of env variables |
| 35 | 31 |
if [ -f ./localrc ]; then |
| 36 | 32 |
source ./localrc |
| ... | ... |
@@ -96,13 +96,10 @@ git_clone $DASH_REPO $DEST/dash $DASH_BRANCH |
| 96 | 96 |
git_clone $NOVACLIENT_REPO $DEST/python-novaclient $NOVACLIENT_BRANCH |
| 97 | 97 |
git_clone $OPENSTACKX_REPO $DEST/openstackx $OPENSTACKX_BRANCH |
| 98 | 98 |
|
| 99 |
-# Use this version of devstack? |
|
| 100 |
-if [ "$USE_CURRENT_DEVSTACK" = "1" ]; then |
|
| 101 |
- rm -rf $CHROOTCACHE/natty-stack/$DEST/devstack |
|
| 102 |
- cp -pr $CWD $CHROOTCACHE/natty-stack/$DEST/devstack |
|
| 103 |
-else |
|
| 104 |
- git_clone $DEVSTACK_REPO $DEST/devstack $DEVSTACK_BRANCH |
|
| 105 |
-fi |
|
| 99 |
+# Use this version of devstack |
|
| 100 |
+rm -rf $CHROOTCACHE/natty-stack/$DEST/devstack |
|
| 101 |
+cp -pr $CWD $CHROOTCACHE/natty-stack/$DEST/devstack |
|
| 102 |
+chroot $CHROOTCACHE/natty-stack chown -R stack $DEST/devstack |
|
| 106 | 103 |
|
| 107 | 104 |
# Configure host network for DHCP |
| 108 | 105 |
mkdir -p $CHROOTCACHE/natty-stack/etc/network |