release = distro.release
machine = distro.machine_type
+ pkg_managers.yum_clean(distro.conn)
+
# Even before EPEL, make sure we have `wget`
pkg_managers.yum(distro.conn, 'wget')
def mirror_install(distro, repo_url, gpg_url, adjust_repos):
repo_url = repo_url.strip('/') # Remove trailing slashes
+ pkg_managers.yum_clean(distro.conn)
+
if adjust_repos:
process.run(
distro.conn,
_type = 'repo-md'
baseurl = baseurl.strip('/') # Remove trailing slashes
+ pkg_managers.yum_clean(distro.conn)
+
if gpgkey:
process.run(
distro.conn,