diff options
author | Paride Legovini <paride.legovini@canonical.com> | 2019-01-25 17:52:41 +0000 |
---|---|---|
committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2019-01-25 17:52:41 +0000 |
commit | 7a4696596bbcccfedf5c6b6e25ad684ef30d9cea (patch) | |
tree | 6ae8a7d5739aab8e51647c1384624d40c5c9ffd5 /tools/uncloud-init | |
parent | c283321bb118d5408390e12b173440f57bd2c160 (diff) | |
download | vyos-cloud-init-7a4696596bbcccfedf5c6b6e25ad684ef30d9cea.tar.gz vyos-cloud-init-7a4696596bbcccfedf5c6b6e25ad684ef30d9cea.zip |
run-container: uncomment baseurl in yum.repos.d/*.repo when using a proxy
When using a proxy it is often useful to know in advance which mirrors
are to be contacted, so a whitelist can be set up. This is not easy when
using the yum.conf(5) mirrorlist option, as the retrieved list of mirrors
may change. The repository definition may also specify a canonical mirror
with the 'baseurl' option; this option is often commented out by default
to favor the usage of worldwide mirrors. This patch uncomments 'baseurl'
when an http_proxy is being used, so the canonical mirror is used *in
addition to* the mirrors retrieved from the mirrorlist.
Diffstat (limited to 'tools/uncloud-init')
0 files changed, 0 insertions, 0 deletions