bao operator init >> /tmp/init.txt
This commit is contained in:
parent
8f28c30364
commit
8d7a7cb1bf
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ server:
|
|||
- -c
|
||||
- |
|
||||
sleep 10
|
||||
# bao operator init >> /tmp/init.txt
|
||||
bao operator init >> /tmp/init.txt
|
||||
# cat /tmp/init.txt | grep "Key " | awk '{print $NF}' | xargs -I{} bao operator unseal {}
|
||||
# echo $(grep "Initial Root Token:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/initial_token.txt
|
||||
# echo $(grep "Unseal Key 1:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key1.txt
|
||||
|
|
Loading…
Reference in a new issue