IPCEICIS-3111 #21
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ server:
|
|||
- |
|
||||
sleep 10
|
||||
bao operator init >> /tmp/init.txt
|
||||
sleep 10
|
||||
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
|
||||
|
|
Reference in a new issue