Commit 69170e72 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #37826 from danwinship/etcd-path

Automatic merge from submit-queue (batch tested with PRs 37094, 37663, 37442, 37808, 37826) Fix the PATH that install-etcd.sh tells you to use After you run install-etcd.sh, it tells you: etcd v3.0.14 installed. To use: export PATH=${PATH}:/home/danw/rh/go/src/k8s.io/kubernetes/third_party/etcd which doesn't work if you have an older etcd installed in /usr/bin: danw@w541:kubernetes (master)> PATH=${PATH}:/home/danw/rh/go/src/k8s.io/kubernetes/third_party/etcd etcd --version etcd Version: 2.2.5 You need to put the local etcd dir first in PATH, not last.
parents b926fa50 b39ddf64
......@@ -87,6 +87,6 @@ kube::etcd::install() {
ln -fns "etcd-v${ETCD_VERSION}-linux-amd64" etcd
fi
kube::log::info "etcd v${ETCD_VERSION} installed. To use:"
kube::log::info "export PATH=\${PATH}:$(pwd)/etcd"
kube::log::info "export PATH=$(pwd)/etcd:\${PATH}"
)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment