Not sure about not mirroring multiple architectures or versions, I don't see 
how that is avoidable.  But our repos in cobbler are defined only using 
variables.  

Instead of 

$ cobbler repo add 
--mirror=http://download.fedora.redhat.com/pub/fedora/linux/updates/12/ 
--name=f12-i386-updates
$ cobbler repo add 
--mirror=http://download.fedora.redhat.com/pub/fedora/linux/releases/12/Everything/i386/
 --name=f12-i386-everything

use variables instead

We use an mrepo server to host/create/manage our internal repos.  (It generates 
the same url paths as the public repos, but with our internal hostname) 

All our repos have essentially the same urls for updates, base, centosplus, 
extras

[root@<cobbler server> ~]# cobbler repo report --name=updates
Name                           : updates
Apt Components (apt only)      : []
Apt Dist Names (apt only)      : []
Arch                           : x86_64
Breed                          : yum
Comment                        :
Createrepo Flags               : <<inherit>>
Environment Variables          : {}
Keep Updated                   : True
Mirror                         : http://<internal repo 
servername>/mrepo/centos$releasever-$basearch/RPMS.updates
Mirror locally                 : False
Owners                         : ['admin']
Priority                       : 1
External proxy URL             :
RPM List                       : []
Yum Options                    : {'gpgcheck': '1', 'gpgkey': 
'http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-$releasever', 'enabled': 
'0'}


This repo is associated with all CentOS cobbler profiles.  
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/admin/lists/[email protected]

Reply via email to