diff --git a/pungi b/pungi index 18be2312..eba64671 100755 --- a/pungi +++ b/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)') diff --git a/pypungi/gather.py b/pypungi/gather.py index 13626369..373ba1aa 100755 --- a/pypungi/gather.py +++ b/pypungi/gather.py @@ -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)