summaryrefslogtreecommitdiffstats
path: root/tools/keystone/fetchpass.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/keystone/fetchpass.sh')
-rwxr-xr-xtools/keystone/fetchpass.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/keystone/fetchpass.sh b/tools/keystone/fetchpass.sh
index 50fdb5c..5d50aa6 100755
--- a/tools/keystone/fetchpass.sh
+++ b/tools/keystone/fetchpass.sh
@@ -24,10 +24,9 @@ AODH_CONF='/etc/aodh/aodh.conf'
source openrc
-# if running as part of Jenkins job, create the files in WORKSPACE
-WORKSPACE=${WORKSPACE:-/root}
-PASSWORD_FILE_ENC="${WORKSPACE}/servicepass.ini"
-PASSWORD_FILE="${WORKSPACE}/passwords.ini"
+# Always executed on controller
+PASSWORD_FILE_ENC="/root/servicepass.ini"
+PASSWORD_FILE="/root/passwords.ini"
# Get an option from an INI file
# iniget config-file section option