From 3ac95355bc4240ff04f997609a9aba93c22a6b45 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Fri, 29 Mar 2013 10:15:36 -0500 Subject: [PATCH] Correctly source .stackenv Specifically to recall HOST_IP and SERVICE_HOST for the current DevStack configuration. Bug 930274 Change-Id: I299d94101ab93faccc88917503409e0afaa0a523 --- openrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openrc b/openrc index 3ef44fd151..8af28543fb 100644 --- a/openrc +++ b/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