Merge "Debian: correct etcd conf file path used in collectd"
This commit is contained in:
commit
54e14cca1f
@ -157,7 +157,7 @@ if [ "$nodetype" = "controller" -a "${ACTIVE}" = true ] ; then
|
||||
CMD="cp -r /opt/platform/helm_charts ${HELM_DIR}/"
|
||||
run_command "${CMD}" "${LOGFILE}"
|
||||
|
||||
export $(grep '^ETCD_LISTEN_CLIENT_URLS=' /etc/etcd/etcd.conf | tr -d '"')
|
||||
export $(grep '^ETCD_LISTEN_CLIENT_URLS=' /etc/default/etcd | tr -d '"')
|
||||
|
||||
CMD="sudo ETCDCTL_API=3 etcdctl \
|
||||
--endpoints=$ETCD_LISTEN_CLIENT_URLS get / --prefix"
|
||||
|
Loading…
x
Reference in New Issue
Block a user