Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Schaper <dan.schaper@pi-hole.net>2022-07-03 21:40:31 +0300
committerDan Schaper <dan.schaper@pi-hole.net>2022-07-03 21:48:12 +0300
commit6efb3a3372be2786c0ef14def511a25a572c22f0 (patch)
treed4837a919a3b62b7555fa92772d6aee957d1d2c0 /test
parent37889f27de2a8d815be257657bcf0a14cc76aced (diff)
Fix for epel mirror timeouts
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
Diffstat (limited to 'test')
-rw-r--r--test/_centos_7.Dockerfile1
-rw-r--r--test/centos7.epel.override7
2 files changed, 8 insertions, 0 deletions
diff --git a/test/_centos_7.Dockerfile b/test/_centos_7.Dockerfile
index 355f4fdb..f39f50e7 100644
--- a/test/_centos_7.Dockerfile
+++ b/test/_centos_7.Dockerfile
@@ -9,6 +9,7 @@ ADD . $GITDIR
RUN cp $GITDIR/advanced/Scripts/*.sh $GITDIR/gravity.sh $GITDIR/pihole $GITDIR/automated\ install/*.sh $SCRIPTDIR/
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$SCRIPTDIR
+ADD test/centos7.epel.override /etc/yum/pluginconf.d/fastestmirror.conf
RUN true && \
chmod +x $SCRIPTDIR/*
diff --git a/test/centos7.epel.override b/test/centos7.epel.override
new file mode 100644
index 00000000..3451f17d
--- /dev/null
+++ b/test/centos7.epel.override
@@ -0,0 +1,7 @@
+[main]
+verbose = 0
+socket_timeout = 3
+enabled = 1
+hostfilepath = /var/cache/yum/timedhosts.txt
+maxhostfileage = 1
+exclude=.edu