有没有办法让 reposync 忽略 /etc/yum.conf ?
当我使用reposync --config=/my/path/to/alternative/inputrepo.conf它时,它仍在挑选存储库以供考虑/etc/yum.repos.d
我的替代/inputrepo.conf 看起来像:
[漆] 名称=清漆 baseurl=http://repo.varnish-cache.org/redhat/varnish-3.0/el6/x86_64/
...但 reposync 仍然选择 google-chome 存储库,它只在 /etc/yum.repos.d/ 中,并抱怨 varnish 被定义了两次。
这对我来说是个问题,因为我想要同步的一些镜像也存在于系统上的 /etc/yum.repos.d/ 中,但具有不同的 baseurl。