소스 검색

installer image: use tmp file for vaultpass

Luke Meyer 7 년 전
부모
커밋
8b299f026c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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