Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true; do
- cmd="$(/usr/local/bin/vault init -address=http://127.0.0.1:8200 2>&1 | tee /vault-init/vault_output)"
- echo Output: $cmd
- if [[ $cmd == *"initialized"* ]]; then
- break
- fi
- sleep 1
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement