[PATCH 1/3] Add yum-plugin-fastestmirror (#849797)

Chris Lumens clumens at redhat.com
Thu Aug 23 17:56:38 UTC 2012


> diff --git a/share/runtime-install.tmpl b/share/runtime-install.tmpl
> index 868ac37..e6203f3 100644
> --- a/share/runtime-install.tmpl
> +++ b/share/runtime-install.tmpl
> @@ -123,5 +123,8 @@ installpkg wget rsync rsh bind-utils ftp mtr vconfig
>  installpkg icfg spice-vdagent
>  installpkg gdisk
>  
> +## yum plugins
> +installpkg yum-plugin-fastestmirror
> +
>  ## actually install all the requested packages
>  run_pkg_transaction

This looks fine.  Normally we wouldn't need to do anything to enable it,
but in anaconda I think we start with all plugins disabled and then
enable only what we want.  So, the following would need an obvious
change:

pyanaconda/packaging/yumpayload.py: self._yum.preconf.enabled_plugins = ["blacklist", "whiteout"]

Worth checking current behavior, at least.

- Chris


More information about the anaconda-patches mailing list