From eb34cd4960f1213e70dc4c693cdb7050273746f9 Mon Sep 17 00:00:00 2001 From: zhanglikun Date: Thu, 15 Jun 2023 10:57:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0md5=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 0-download.sh | 3 +++ temp/md5.sum | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 temp/md5.sum diff --git a/0-download.sh b/0-download.sh index dca6c3d..94e5d8c 100644 --- a/0-download.sh +++ b/0-download.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -euo pipefail cd temp/ curl -OL -C - https://github.com/iuxt/offline-kubernetes-install/releases/download/docker-ce-20.10.23-3.el7.x86_64/docker-ce-20.10.tar.gz @@ -9,6 +10,8 @@ curl -OL -C - https://github.com/iuxt/offline-kubernetes-install/releases/downlo curl -OL -C - https://github.com/iuxt/offline-kubernetes-install/releases/download/kubeadm_rpms/kubeadm_rpms.tar.gz curl -OL -C - https://github.com/iuxt/offline-kubernetes-install/releases/download/keepalived/keepalived.tar.gz +md5sum -c md5.sum + tar xf docker-ce-20.10.tar.gz -C ../docker/ tar xf flannel.tar.gz -C ../flannel/ tar xf ingress-nginx.tar.gz -C ../ingress-nginx/ diff --git a/temp/md5.sum b/temp/md5.sum new file mode 100644 index 0000000..6ce2f0e --- /dev/null +++ b/temp/md5.sum @@ -0,0 +1,6 @@ +46c0e3be1cbd37d2be46e0d7668fe815 docker-ce-20.10.tar.gz +980f6bca09ae49d0a5b30af691de3c0d flannel.tar.gz +fdb228d3d72b103d856b43d4387b40c9 ingress-nginx.tar.gz +01817c514eff0f592764783c6da476cc keepalived.tar.gz +9beba9e40a72d2b5ae4c8616d11fc10e kubeadm_images.tar.gz +abcd0f840ce38a38b5201a3fb29d9d10 kubeadm_rpms.tar.gz