diff options
author | Garrett Holmstrom <gholms@eucalyptus.com> | 2012-09-19 16:06:58 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-09-19 16:06:58 -0400 |
commit | a2508f662245ab38a5200188e54e228005d56bba (patch) | |
tree | f4600c7b088a6d8f104df492c2be8fce1a7d100b /cloudinit | |
parent | b15088c1fd1e0199a86ed3af0f0415f604074609 (diff) | |
parent | 49f5833d03b41663ccd705521136718f6230eb4b (diff) | |
download | vyos-cloud-init-a2508f662245ab38a5200188e54e228005d56bba.tar.gz vyos-cloud-init-a2508f662245ab38a5200188e54e228005d56bba.zip |
fix 'update_package_sources' on rhel to only update package sources
update_package_sources on RHEL called "yum update", which actually
upgrades packages on the system. Thix fix makes it instead call "yum
makecache" instead.
Diffstat (limited to 'cloudinit')
-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 b77f1b70..ec4dc2cc 100644 --- a/cloudinit/distros/rhel.py +++ b/cloudinit/distros/rhel.py @@ -228,7 +228,7 @@ class Distro(distros.Distro): def update_package_sources(self): self._runner.run("update-sources", self.package_command, - ["update"], freq=PER_INSTANCE) + ["makecache"], freq=PER_INSTANCE) # This class helps adjust the configobj |