summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Meyer <lmeyer@redhat.com>2017-09-15 13:10:48 -0400
committerLuke Meyer <lmeyer@redhat.com>2017-09-15 13:10:48 -0400
commit8b299f026ceeac66fb7f6565416d860f9abd9f2e (patch)
treeeba32826911b5cf2a4b8d20217f4196ce2c1e26a
parent943f3d13057e2e0a4e846a8bfbcc7fc9b3973ec3 (diff)
downloadopenshift-8b299f026ceeac66fb7f6565416d860f9abd9f2e.tar.gz
openshift-8b299f026ceeac66fb7f6565416d860f9abd9f2e.tar.bz2
openshift-8b299f026ceeac66fb7f6565416d860f9abd9f2e.tar.xz
openshift-8b299f026ceeac66fb7f6565416d860f9abd9f2e.zip
installer image: use tmp file for vaultpass
-rwxr-xr-ximages/installer/root/usr/local/bin/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/images/installer/root/usr/local/bin/run b/images/installer/root/usr/local/bin/run
index 51ac566e5..70aa0bac3 100755
--- a/images/installer/root/usr/local/bin/run
+++ b/images/installer/root/usr/local/bin/run
@@ -39,7 +39,7 @@ if [[ "$ALLOW_ANSIBLE_CONNECTION_LOCAL" = false ]]; then
fi
if [[ -v VAULT_PASS ]]; then
- VAULT_PASS_FILE=.vaultpass
+ VAULT_PASS_FILE="$(mktemp)"
echo ${VAULT_PASS} > ${VAULT_PASS_FILE}
VAULT_PASS_ARG="--vault-password-file ${VAULT_PASS_FILE}"
fi