diff options
author | Garrett Holmstrom <gholms@eucalyptus.com> | 2012-09-18 10:55:12 -0700 |
---|---|---|
committer | Garrett Holmstrom <gholms@eucalyptus.com> | 2012-09-18 10:55:12 -0700 |
commit | a32af38b525e4bb7a1d8317e136073d7a9323f3e (patch) | |
tree | 742488ac696541212433bd370af3cf02dce65795 /cloudinit/distros/rhel.py | |
parent | c558334c6564341f97ad024f2687044534efc17f (diff) | |
download | vyos-cloud-init-a32af38b525e4bb7a1d8317e136073d7a9323f3e.tar.gz vyos-cloud-init-a32af38b525e4bb7a1d8317e136073d7a9323f3e.zip |
Make update_package_sources stop upgrading packages on RHEL
Diffstat (limited to 'cloudinit/distros/rhel.py')
-rw-r--r-- | cloudinit/distros/rhel.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |