Browse Source

script, encore une correction !

develop-etcd
Gael 1 month ago
parent
commit
c5f2f2e5b8
  1. 2
      dockers/etcd/etcdctl.sh

2
dockers/etcd/etcdctl.sh

@ -14,7 +14,7 @@ setKazVars
which etcdctl | grep -i etcdctl >/dev/null || { apt install -y etcd-client ;}
etcdServIP=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' ${etcdServName})
export ETCDCTL_ENDPOINTS="http://${etcdServIP}:2379"
export ETCDCTL_ENDPOINTS="${etcdServIP}:2379"
export ETCDCTL_API=3
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then

Loading…
Cancel
Save