vault-guides icon indicating copy to clipboard operation
vault-guides copied to clipboard

Getting errors when running ./cluster.sh: line 47: vault: command not found

Open crutis3270 opened this issue 3 years ago • 1 comments

Hello,

Getting errors when running ./cluster.sh: line 47: vault: command not found. Is there something missing from the code below?

Create a helper function to address the first vault node

function vault_1 { (export VAULT_ADDR=http://10.0.0.75:8200 && vault "$@")

From screen

root@vault01:/home/crutis3270/gary/vault-guides/operations/raft-storage/local# ./cluster.sh setup vault_1

[vault_1] starting Vault server @ http://10.0.0.75:8200

[vault_1] initializing and capturing the unseal key and root token ./cluster.sh: line 47: vault: command not found

crutis3270 avatar Jan 16 '22 20:01 crutis3270

The full instruction is here.

I just updated the script, so please re-run the command in following order:

  1. (Optional) ./cluster.sh clean
  2. ./cluster.sh create network
  3. ./cluster.sh create config
  4. ./cluster.sh setup vault_1

yhyakuna avatar May 11 '22 21:05 yhyakuna