Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
crutis3270 opened this issue Jan 16, 2022 · 1 comment

Comments

@crutis3270
Copy link

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

@yhyakuna
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants