diff options
author | Luke Meyer <lmeyer@redhat.com> | 2017-09-15 13:10:48 -0400 |
---|---|---|
committer | Luke Meyer <lmeyer@redhat.com> | 2017-09-15 13:10:48 -0400 |
commit | 8b299f026ceeac66fb7f6565416d860f9abd9f2e (patch) | |
tree | eba32826911b5cf2a4b8d20217f4196ce2c1e26a /images/installer/root | |
parent | 943f3d13057e2e0a4e846a8bfbcc7fc9b3973ec3 (diff) | |
download | openshift-8b299f026ceeac66fb7f6565416d860f9abd9f2e.tar.gz openshift-8b299f026ceeac66fb7f6565416d860f9abd9f2e.tar.bz2 openshift-8b299f026ceeac66fb7f6565416d860f9abd9f2e.tar.xz openshift-8b299f026ceeac66fb7f6565416d860f9abd9f2e.zip |
installer image: use tmp file for vaultpass
Diffstat (limited to 'images/installer/root')
-rwxr-xr-x | images/installer/root/usr/local/bin/run | 2 |
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 |