diff --git a/first_run.sh b/first_run.sh index 0ac4a9d..50b8495 100755 --- a/first_run.sh +++ b/first_run.sh @@ -1,7 +1,7 @@ #!/bin/bash source .env -[ -f ${SERVICE_DATA}/ipa-server-install-options ] && { +[ ! -f ${SERVICE_DATA}/ipa-server-install-options ] && { echo "--password=${FREEIPA_PASS}" > ${SERVICE_DATA}/ipa-server-install-options echo "--admin-password=${FREEIPA_PASS}" >> ${SERVICE_DATA}/ipa-server-install-options }