mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Fix the PATH that install-etcd.sh tells you to use
If you have an old etcd installed in /usr/bin then you need to add the local etcd directory to the *start* of PATH, not the end.
This commit is contained in:
parent
44f00e1019
commit
b39ddf64f6
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
|
ln -fns "etcd-v${ETCD_VERSION}-linux-amd64" etcd
|
||||||
fi
|
fi
|
||||||
kube::log::info "etcd v${ETCD_VERSION} installed. To use:"
|
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