Flip the default for nosource.
This commit is contained in:
parent
669fd7e62b
commit
a09b885fd8
2
pungi
2
pungi
@ -134,7 +134,7 @@ if __name__ == '__main__':
|
||||
help='the number of discs you want to create (defaults to 1)')
|
||||
parser.add_option("--nosource", action="store_true", dest="nosource",
|
||||
help='disable gathering of source packages (optional)')
|
||||
parser.add_option("--nosplitmedia", action="store_true", dest="nosplitmedia", default=False,
|
||||
parser.add_option("--nosplitmedia", action="store_false", dest="nosplitmedia", default=True,
|
||||
help='disable creation of split media (optional)')
|
||||
parser.add_option("--sourceisos", default=False, action="store_true", dest="sourceisos",
|
||||
help='Create the source isos (other arch runs must be done)')
|
||||
|
@ -123,6 +123,7 @@ class Gather(pypungi.PungiBase):
|
||||
self.logger.info('URL for repo %s is %s' % (thisrepo.name, thisrepo.baseurl))
|
||||
thisrepo.basecachedir = self.ayum.conf.cachedir
|
||||
thisrepo.enablegroups = True
|
||||
thisrepo.failovermethod = 'priority'
|
||||
self.ayum.repos.add(thisrepo)
|
||||
self.ayum.repos.enableRepo(thisrepo.id)
|
||||
self.ayum._getRepos(thisrepo=thisrepo.id, doSetup = True)
|
||||
|
Loading…
Reference in New Issue
Block a user