Set env variables when all needed files are source
This patch moves 'source ..openrc admin admin' after we sourced keystone variables. Closes-Bug: #1684797 Change-Id: Ic3477c768373c993087d5c6a90dbd7131b4f9f50
This commit is contained in:
parent
350d8dec39
commit
716e22b712
@ -26,8 +26,6 @@ RUN_DIR=$(cd $(dirname "$0") && pwd)
|
||||
# Source params
|
||||
source $GRENADE_DIR/grenaderc
|
||||
|
||||
source $TOP_DIR/openrc admin admin
|
||||
|
||||
# Import common functions
|
||||
source $GRENADE_DIR/functions
|
||||
|
||||
@ -46,6 +44,8 @@ source $TARGET_DEVSTACK_DIR/lib/neutron-legacy
|
||||
source $TARGET_DEVSTACK_DIR/lib/apache
|
||||
source $TARGET_DEVSTACK_DIR/lib/keystone
|
||||
|
||||
source $TOP_DIR/openrc admin admin
|
||||
|
||||
# Keep track of the DevStack directory
|
||||
IRONIC_DEVSTACK_DIR=$(dirname "$0")/..
|
||||
source $IRONIC_DEVSTACK_DIR/lib/ironic
|
||||
|
Loading…
x
Reference in New Issue
Block a user