增加md5校验

This commit is contained in:
zhanglikun 2023-06-15 10:57:11 +08:00
parent 1b4ef4b377
commit eb34cd4960
No known key found for this signature in database
GPG Key ID: CEA7CACC468ACDFE
2 changed files with 9 additions and 0 deletions

View File

@ -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/

6
temp/md5.sum Normal file
View File

@ -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