vault-guides
vault-guides copied to clipboard
Getting errors when running ./cluster.sh: line 47: vault: command not found
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
The full instruction is here.
I just updated the script, so please re-run the command in following order:
- (Optional)
./cluster.sh clean
-
./cluster.sh create network
-
./cluster.sh create config
-
./cluster.sh setup vault_1