Correctly source .stackenv

Specifically to recall HOST_IP and SERVICE_HOST for the current DevStack configuration.

Bug 930274

Change-Id: I299d94101ab93faccc88917503409e0afaa0a523
This commit is contained in:
Dean Troyer 2013-03-29 10:15:36 -05:00
parent 9cb8e57482
commit 3ac95355bc
1 changed files with 2 additions and 2 deletions

4
openrc
View File

@ -27,8 +27,8 @@ source $RC_DIR/functions
source $RC_DIR/stackrc
# Load the last env variables if available
if [[ -r $TOP_DIR/.stackenv ]]; then
source $TOP_DIR/.stackenv
if [[ -r $RC_DIR/.stackenv ]]; then
source $RC_DIR/.stackenv
fi
# Get some necessary configuration