Download metadata when updating or adding new repos

cacheonly=1 was skipping downloading new metadata when a new source was
added. Set it to 0 so that the update is immediate.
This commit is contained in:
Brian C. Lane 2018-07-17 09:59:26 -07:00
parent 6444e16df9
commit 7e8245abcc
1 changed files with 1 additions and 1 deletions

View File

@ -120,4 +120,4 @@ def update_metadata(yb):
r.mdpolicy = "group:all"
yb.doRepoSetup()
yb.repos.doSetup()
yb.repos.populateSack(mdtype='all', cacheonly=1)
yb.repos.populateSack(mdtype='all', cacheonly=0)