From 324e79bac3985fc3e2599c5d0567fec59a217418 Mon Sep 17 00:00:00 2001 From: Dimitri Mazmanov Date: Mon, 30 Jan 2017 12:40:55 +0100 Subject: Fix script execution on wrong target All scripts are now triggered via run.sh which is a proxy to controllers and computes. Change-Id: Ifd35d5405d30b9aed002515e55a3b9047098a0d4 Signed-off-by: Dimitri Mazmanov JIRA: MULTISITE-34 --- tools/keystone/writepass.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tools/keystone/writepass.sh') diff --git a/tools/keystone/writepass.sh b/tools/keystone/writepass.sh index d125854..466cd48 100755 --- a/tools/keystone/writepass.sh +++ b/tools/keystone/writepass.sh @@ -13,10 +13,8 @@ set -o errexit set -o nounset set -o pipefail -# if running as part of Jenkins job, read and create the files from/in WORKSPACE -WORKSPACE=${WORKSPACE:-/root} -PASSWORD_FILE_ENC="${WORKSPACE}/servicepass.ini" -PASSWORD_FILE="${WORKSPACE}/passwords.ini" +PASSWORD_FILE_ENC="/root/servicepass.ini" +PASSWORD_FILE="/root/passwords.ini" function ini_has_option { local file=$1 -- cgit 1.2.3-korg