Fix zkcli alias to use hostname
This commit is contained in:
parent
9dc9139c35
commit
35089f6dda
|
@ -104,7 +104,7 @@ alias rbd='sudo rbd'
|
||||||
|
|
||||||
# Cool aliases
|
# Cool aliases
|
||||||
alias cccp='sudo rsync -auv --progress'
|
alias cccp='sudo rsync -auv --progress'
|
||||||
alias zkcli='sudo /usr/share/zookeeper/bin/zkCli.sh'
|
alias zkcli='sudo /usr/share/zookeeper/bin/zkCli.sh -server $(hostname):2181'
|
||||||
alias patronictl='sudo -E patronictl -c /etc/patroni/config.yml'
|
alias patronictl='sudo -E patronictl -c /etc/patroni/config.yml'
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue