bao login $(grep "Initial Root Token:" /tmp/init.txt | awk '{print $NF}') moved two lines up

This commit is contained in:
miwr 2025-03-26 15:14:06 +01:00
parent 8126550d70
commit 66a56f2c43

View file

@ -12,8 +12,8 @@ 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
bao login $(grep "Initial Root Token:" /tmp/init.txt | awk '{print $NF}')
rm /tmp/init.txt
bao audit enable file file_path=stdout
ui:
enabled: true