[Yum] Newbie question
Owyn
owyn.tux at sympatico.ca
Sun Nov 16 17:25:36 UTC 2003
On Sun, 2003-11-16 at 12:10, Owyn wrote:
> You could use a simple file flag to synchronize.
>
> The updating script could be:
>
> touch nfspath/update-in-progress
> yum update
> rm nfspath/update-in-progress
>
> The other scripts would then be:
>
> while test -x nfspath/update-in-progress
> do
> sleep 600
> done
> yum update
Second thoughts and cleanup,
1)the "yum update" lines in the previous script should have been "yum -Y
update" and "yum -Y -C update"
2)You could use the same script with file flag for all systems, eg.
while test -x nfspath/update-in-progress
do
sleep 600
done
touch nfspath/update-in-progress
yum -Y update
rm nfspath/update-in-progress
More information about the Yum
mailing list