summaryrefslogtreecommitdiffstats
path: root/tools/keystone/writepass.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/keystone/writepass.sh')
-rwxr-xr-xtools/keystone/writepass.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/keystone/writepass.sh b/tools/keystone/writepass.sh
index 2b0a965..466cd48 100755
--- a/tools/keystone/writepass.sh
+++ b/tools/keystone/writepass.sh
@@ -13,7 +13,7 @@ set -o errexit
set -o nounset
set -o pipefail
-PASSWORD_FILE_ENC="servicepass.ini"
+PASSWORD_FILE_ENC="/root/servicepass.ini"
PASSWORD_FILE="/root/passwords.ini"
function ini_has_option {
@@ -67,7 +67,7 @@ $option = $value
}
function decode_passwords() {
- openssl enc -aes-256-cbc -d -a -in ${PASSWORD_FILE_ENC} -out /root/passwords.ini -k multisite
+ openssl enc -aes-256-cbc -d -a -in ${PASSWORD_FILE_ENC} -out ${PASSWORD_FILE} -k multisite
}
function write_controller() {