[Yum-devel] [PATCH] Adds DNSDOMAINNAME option to cause updates to only run when the machine's domainname matches a given value. Useful if you don't want roaming laptop users to update when away from the office.
James Antill
james at fedoraproject.org
Fri Mar 23 19:39:50 UTC 2012
On Fri, 2012-03-16 at 12:11 -0600, Orion Poplawski wrote:
> ---
> yum-cron/yum-cron.sysconfig | 3 +++
> yum-cron/yum-update.cron.sh | 5 +++++
> 2 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/yum-cron/yum-cron.sysconfig b/yum-cron/yum-cron.sysconfig
> index 4c8c40d..3b7134d 100644
> --- a/yum-cron/yum-cron.sysconfig
> +++ b/yum-cron/yum-cron.sysconfig
> @@ -72,6 +72,9 @@ RANDOMWAIT=60
> # day.
> #DAYS_OF_WEEK="0123456"
>
> +# Set this to only update if the domainname of the machine matches this
> +#DNSDOMAINNAME=
> +
This seems really specific, much better to have a user provided
SHOULD_I_RUN script or something.
More information about the Yum-devel
mailing list