Explorar o código

installer image: use tmp file for vaultpass

Luke Meyer %!s(int64=7) %!d(string=hai) anos
pai
achega
8b299f026c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      images/installer/root/usr/local/bin/run

+ 1 - 1
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