copy .stackenv to target

With changes to the way that openrc is working, especially with
keystone not just being a simple host / port combo, we need to copy
over out stackenv to the new side.

Change-Id: Ie59c6f824ae0801b2373c50eb2047f05a008790e
This commit is contained in:
Sean Dague 2017-04-20 14:56:49 -04:00
parent dd010f6383
commit 4075993fbb
1 changed files with 3 additions and 0 deletions

View File

@ -237,6 +237,9 @@ if [[ "$RUN_BASE" == "True" ]]; then
cd $BASE_DEVSTACK_DIR
GIT_BASE=$GIT_BASE ./stack.sh
stop $STOP stack.sh 10
# copy over the base .stackenv to the target one so that openrc
# works as expected.
cp .stackenv $TARGET_DEVSTACK_DIR
echo_summary "Running post-stack.sh"
if [[ -e $GRENADE_DIR/post-stack.sh ]]; then