Skip to content

Commit

Permalink
fix etcd installation
Browse files Browse the repository at this point in the history
  • Loading branch information
hangxie committed Mar 19, 2021
1 parent e571ede commit 6404f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ function layer_install_apps_not_provided_by_os_packages() {
ln -s /usr/local/share/"${ARTIFACT}"-"${VERSION}"/$(echo "${ARTIFACT}" | tr '[:upper:]' '[:lower:]') /usr/local/bin/ && \
echo "Install etcdctl." && \
export ORG="etcd-io" && export REPO="etcd" && export VERSION=$(get_latest_github_release_version "${ORG}" "${REPO}") && export ARTIFACT="etcdctl" && \
curl -sSfL https://github.com/"${ORG}"/"${REPO}"/releases/download/v"${VERSION}"/"${REPO}"-v"${VERSION}"-linux-amd64.tar.gz | tar xz && \
curl -sSfL https://github.com/"${ORG}"/"${REPO}"/releases/download/v"${VERSION}"/"${REPO}"-v"${VERSION}"-linux-amd64.tar | tar x && \
chown root:root "${REPO}"*/${ARTIFACT} && mv "${REPO}"*/${ARTIFACT} /usr/local/bin/${ARTIFACT} && rm -rf "${REPO}"* && \
echo "Install fluxctl." && \
export ORG="fluxcd" && export REPO="flux" && export VERSION=$(get_latest_github_release_version "${ORG}" "${REPO}") && export ARTIFACT="fluxctl" && \
Expand Down

0 comments on commit 6404f4d

Please sign in to comment.