rm /tmp/init.txt moved a few lines down

This commit is contained in:
miwr 2025-03-13 13:52:29 +01:00
parent 5518e9e2d7
commit 3dd9b7a544

View file

@ -12,8 +12,10 @@ server:
echo $(grep "Unseal Key 3:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key3.txt
echo $(grep "Unseal Key 4:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key4.txt
echo $(grep "Unseal Key 5:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key5.txt
rm /tmp/init.txt
echo "usealed 👍"
bao login $(grep "Initial Root Token:" /tmp/init.txt | awk '{print $NF}')
echo "logged in 🥷"
bao audit enable file file_path=stdout
rm /tmp/init.txt
ui:
enabled: true