From fabaa991ca28a181909b420701bbd8e195177814 Mon Sep 17 00:00:00 2001 From: Shachar Snapiri Date: Wed, 6 Dec 2017 14:45:06 +0200 Subject: [PATCH] Added the ability to specify checksum for etcd It is possibe for the user to override te etcd version, thus download a different etcd file, but the checksum is constant, so the checksum verification will fail in that case. Added the ability to specify a different checksum, so the user would be able to specify the new version checksum Change-Id: I85af3af841ae957964f18d4e37a86ab0703882bc Closes-Bug: #1736718 --- stackrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stackrc b/stackrc index 286a04d3fe..d344981c75 100644 --- a/stackrc +++ b/stackrc @@ -720,11 +720,11 @@ EXTRA_CACHE_URLS="" # etcd3 defaults ETCD_VERSION=${ETCD_VERSION:-v3.1.10} -ETCD_SHA256_AMD64="2d335f298619c6fb02b1124773a56966e448ad9952b26fea52909da4fe80d2be" +ETCD_SHA256_AMD64=${ETCD_SHA256_AMD64:-"2d335f298619c6fb02b1124773a56966e448ad9952b26fea52909da4fe80d2be"} # NOTE(sdague): etcd v3.1.10 doesn't have anything for these architectures, though 3.2.x does. -ETCD_SHA256_ARM64="" -ETCD_SHA256_PPC64="" -ETCD_SHA256_S390X="" +ETCD_SHA256_ARM64=${ETCD_SHA256_ARM64:-""} +ETCD_SHA256_PPC64=${ETCD_SHA256_PPC64:-""} +ETCD_SHA256_S390X=${ETCD_SHA256_S390X:-""} # Make sure etcd3 downloads the correct architecture if is_arch "x86_64"; then ETCD_ARCH="amd64"