From a32af38b525e4bb7a1d8317e136073d7a9323f3e Mon Sep 17 00:00:00 2001 From: Garrett Holmstrom Date: Tue, 18 Sep 2012 10:55:12 -0700 Subject: Make update_package_sources stop upgrading packages on RHEL --- cloudinit/distros/rhel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cloudinit/distros') diff --git a/cloudinit/distros/rhel.py b/cloudinit/distros/rhel.py index d81ee5fb..7f90cd8d 100644 --- a/cloudinit/distros/rhel.py +++ b/cloudinit/distros/rhel.py @@ -208,7 +208,7 @@ class Distro(distros.Distro): 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 -- cgit v1.2.3