summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorGarrett Holmstrom <gholms@eucalyptus.com>2012-09-18 10:55:12 -0700
committerGarrett Holmstrom <gholms@eucalyptus.com>2012-09-18 10:55:12 -0700
commita32af38b525e4bb7a1d8317e136073d7a9323f3e (patch)
tree742488ac696541212433bd370af3cf02dce65795 /cloudinit
parentc558334c6564341f97ad024f2687044534efc17f (diff)
downloadvyos-cloud-init-a32af38b525e4bb7a1d8317e136073d7a9323f3e.tar.gz
vyos-cloud-init-a32af38b525e4bb7a1d8317e136073d7a9323f3e.zip
Make update_package_sources stop upgrading packages on RHEL
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/distros/rhel.py2
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