mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
Add azure source when system is centos8
https://github.com/kubesphere/kubekey/issues/357 Signed-off-by: Forest-L <lilin@yunify.com>
This commit is contained in:
parent
1e783f1910
commit
f5ce180723
|
|
@ -5,6 +5,14 @@ docker_version=19.03.13
|
|||
#apt_yum_url="https://download.docker.com"
|
||||
apt_yum_url="https://mirrors.aliyun.com/docker-ce"
|
||||
|
||||
VERSION=`cat /etc/os-release | grep VERSION_ID | awk -F "" '{print $13}'`
|
||||
|
||||
if [ "$VERSION" -eq 8 ]
|
||||
then
|
||||
apt_yum_url="https://mirror.azure.cn/docker-ce"
|
||||
fi
|
||||
|
||||
|
||||
rhel_repos="
|
||||
rhel-7-server-extras-rpms
|
||||
rhui-REGION-rhel-server-extras
|
||||
|
|
|
|||
Loading…
Reference in New Issue