summaryrefslogtreecommitdiff
path: root/cloudinit/distros/rhel.py
diff options
context:
space:
mode:
authorGarrett Holmstrom <gholms@eucalyptus.com>2012-09-19 09:42:08 -0700
committerGarrett Holmstrom <gholms@eucalyptus.com>2012-09-19 09:42:08 -0700
commit49f5833d03b41663ccd705521136718f6230eb4b (patch)
treef89e78acbcfea01950fc8b15b45f6abcba2749d1 /cloudinit/distros/rhel.py
parenta32af38b525e4bb7a1d8317e136073d7a9323f3e (diff)
downloadvyos-cloud-init-49f5833d03b41663ccd705521136718f6230eb4b.tar.gz
vyos-cloud-init-49f5833d03b41663ccd705521136718f6230eb4b.zip
Actually download yum metadata with update_package_sources
Diffstat (limited to 'cloudinit/distros/rhel.py')
-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 7f90cd8d..9b95d0d4 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,
- ["clean", "expire-cache"], freq=PER_INSTANCE)
+ ["makecache"], freq=PER_INSTANCE)
# This class helps adjust the configobj