← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~legovini/cloud-init:copr-fix into cloud-init:master

 

Paride Legovini has proposed merging ~legovini/cloud-init:copr-fix into cloud-init:master.

Requested reviews:
  cloud-init commiters (cloud-init-dev)

For more details, see:
https://code.launchpad.net/~legovini/cloud-init/+git/cloud-init/+merge/362123
-- 
Your team cloud-init commiters is requested to review the proposed merge of ~legovini/cloud-init:copr-fix into cloud-init:master.
diff --git a/tools/run-container b/tools/run-container
index 6dedb75..852f4d1 100755
--- a/tools/run-container
+++ b/tools/run-container
@@ -373,6 +373,7 @@ wait_for_boot() {
             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
+            inside "$name" sh -c "sed -i '/^#baseurl=/s/#//' /etc/yum.repos.d/*.repo"
         else
             debug 1 "do not know how to configure proxy on $OS_NAME"
         fi

Follow ups