Browse files

Correctly source .stackenv

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

Bug 930274

Change-Id: I299d94101ab93faccc88917503409e0afaa0a523
  • Loading branch information...
1 parent 9cb8e57 commit 3ac95355bc4240ff04f997609a9aba93c22a6b45 @dtroyer dtroyer committed Mar 29, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 openrc
View
4 openrc
@@ -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

0 comments on commit 3ac9535

Please sign in to comment.