From 97005c332eaa5c174900d44f123f1acfbf6a36ac Mon Sep 17 00:00:00 2001 From: donny Date: Wed, 2 Mar 2022 13:55:03 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'centos7-system-install.sh?= =?UTF-8?q?'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- centos7-system-install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/centos7-system-install.sh b/centos7-system-install.sh index b630c72..79816a3 100644 --- a/centos7-system-install.sh +++ b/centos7-system-install.sh @@ -13,8 +13,13 @@ registry = "https://github.com/rust-lang/crates.io-index" replace-with = 'ustc' [source.ustc] registry = "git://mirrors.ustc.edu.cn/crates.io-index" +# 如果所处的环境中不允许使用 git 协议,可以把上面的地址改为 #registry = "https://mirrors.ustc.edu.cn/crates.io-index" -EOF + +[net] +git-fetch-with-cli = true + +EOF # docker加速 mkdir -p /etc/docker