8 lines
141 B
Bash
8 lines
141 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
export TOKEN_DIR=/etc/consul.d/tokens
|
||
|
|
||
|
consul acl bootstrap --format json | tee -a "${TOKEN_DIR}/token-bootstrap.json"
|
||
|
|
||
|
exit $?
|