|
|
@ -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 |
|
|
|