summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/run-centos1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/run-centos b/tools/run-centos
index d44d5145..e87b2025 100755
--- a/tools/run-centos
+++ b/tools/run-centos
@@ -153,6 +153,7 @@ start_container() {
if [ ! -z "${http_proxy-}" ]; then
debug 1 "configuring proxy ${http_proxy}"
inside "$name" sh -c "echo proxy=$http_proxy >> /etc/yum.conf"
+ inside "$name" sed -i s/enabled=1/enabled=0/ /etc/yum/pluginconf.d/fastestmirror.conf
fi
}