From 4453f1a32f689e12e49d3bf205308df273c33c3f Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 19 Aug 2020 10:55:59 +0200 Subject: centos7 uses yum --- configure-mirror | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure-mirror b/configure-mirror index f895e78..f84d79c 100755 --- a/configure-mirror +++ b/configure-mirror @@ -35,7 +35,7 @@ set_baseurl http://download.fedoraproject.org/ "${FEDORA_MIRROR}" FEDORA_MIRROR # # no parallel downloads please. # -grep -q max_parallel_downloads /etc/dnf/dnf.conf ||\ -echo max_parallel_downloads=1 >> /etc/dnf/dnf.conf +grep -q max_connections /etc/yum.conf ||\ +echo max_connections=1 >> /etc/yum.conf exit 0 -- cgit