Garrett Holmstrom has proposed merging lp:~gholms/cloud-init/yum-clean into
lp:cloud-init.
Requested reviews:
cloud init development team (cloud-init-dev)
For more details, see:
https://code.launchpad.net/~gholms/cloud-init/yum-clean/+merge/125001
update_package_sources on RHEL calls ``yum update'', which actually upgrades
packages on the system. Thix fix makes it instead call ``yum clean
expire-cache'', which will make yum update its repo metadata the next time it
runs.
--
https://code.launchpad.net/~gholms/cloud-init/yum-clean/+merge/125001
Your team cloud init development team is requested to review the proposed merge
of lp:~gholms/cloud-init/yum-clean into lp:cloud-init.
=== modified file 'cloudinit/distros/rhel.py'
--- cloudinit/distros/rhel.py 2012-08-22 18:12:32 +0000
+++ cloudinit/distros/rhel.py 2012-09-18 18:00:28 +0000
@@ -208,7 +208,7 @@
def update_package_sources(self):
self._runner.run("update-sources", self.package_command,
- ["update"], freq=PER_INSTANCE)
+ ["clean", "expire-cache"], freq=PER_INSTANCE)
# This class helps adjust the configobj
_______________________________________________
Mailing list: https://launchpad.net/~cloud-init-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~cloud-init-dev
More help : https://help.launchpad.net/ListHelp