mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
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.
This commit is contained in:
commit
69170e7243
2
hack/lib/etcd.sh
Normal file → Executable file
2
hack/lib/etcd.sh
Normal file → Executable file
@ -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}"
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user