Fixed Bug in IPA-Key initial setup

This commit is contained in:
Daniel Pätzold
2026-03-10 16:46:42 +01:00
parent 2f9d9c3c20
commit 67a932bee1
-3
View File
@@ -37,9 +37,6 @@ else
#Get the Token from IPA
echo Getting the Vault ${IPAVAULTNAME}
ipa vault-retrieve ${IPAVAULTNAME} --out /var/tmp/IPAVAULTKEY.txt >/dev/null #TODO: Instead of /var/tmp use tmpfs for more security
if [ $? -ne 0 ]; then
echo "No Key found."
fi
if [ $? -ne 0 ]; then
echo "No Key found. Will try to Setup a new one."
ENCKEY=$( openssl rand -base64 24 )