Hey Chris,
I have a machine that does devops-by-rpm/makefile, but here's the meat
of it:
/usr/bin/cobbler repo add \
--name centos7-os-x86_64 \
--arch x86_64 \
--mirror
rsync://mirrors.kernel.org/centos/7/os/x86_64 \
--breed rsync
cobbler distro add \
--name centos7-x86_64 \
--arch x86_64 \
--breed redhat \
--kernel /var/www/cobbler/repo_mirror/centos7-os-x86_64/images/pxeboot/vmlinuz \
--initrd /var/www/cobbler/repo_mirror/centos7-os-x86_64/images/pxeboot/initrd.img \
--os-version rhel7 \
--ksmeta "tree=http://@@http_server@@/cblr/repo_mirror/centos7-os-x86_64"
\
--kopts='net.ifnames=0 biosdevname=0'
Make tosses a reposync+sync onto the ts in %post.
Mine looks like this when I'm done:
# cobbler repo report --name centos7-os-x86_64
Name : centos7-os-x86_64
Apt Components (apt only) :
Apt Dist Names (apt only) :
Arch : x86_64
Breed : rsync
Comment :
Createrepo Flags : <<inherit>>
Environment Variables : {}
Keep Updated : False
Mirror :
rsync://mirrors.kernel.org/centos/7/os/x86_64/
Mirror locally : True
Owners : ['admin']
Priority : 99
External proxy URL :
RPM List : []
Yum Options : {}
# cobbler distro report --name centos7-x86_64
Name : centos7-x86_64
Architecture : x86_64
TFTP Boot Files : {}
Breed : redhat
Comment :
Fetchable Files : {}
Initrd :
/var/www/cobbler/repo_mirror/centos7-os-x86_64/images/pxeboot/initrd.img
Kernel :
/var/www/cobbler/repo_mirror/centos7-os-x86_64/images/pxeboot/vmlinuz
Kernel Options : {'biosdevname': '0',
'net.ifnames': '0'}
Kernel Options (Post Install) : {}
Kickstart Metadata : {'tree':
'http://@@http_server@@/cblr/repo_mirror/centos7-os-x86_64'}
Management Classes : []
OS Version : rhel7
Owners : ['admin']
Red Hat Management Key : <<inherit>>
Red Hat Management Server : <<inherit>>
Template Files : {}
# cobbler profile report --name centos7-x86_64
Name : centos7-x86_64
TFTP Boot Files : {}
Comment :
DHCP Tag : default
Distribution : centos7-x86_64
Enable gPXE? : 0
Enable PXE Menu? : 1
Fetchable Files : {}
Kernel Options : {}
Kernel Options (Post Install) : {}
Kickstart : /var/lib/cobbler/kickstarts/centos7.ks
Kickstart Metadata : {}
Management Classes : []
Management Parameters : <<inherit>>
Name Servers : []
Name Servers Search Path : []
Owners : ['admin']
Parent Profile :
Internal proxy :
Red Hat Management Key : <<inherit>>
Red Hat Management Server : <<inherit>>
Repos : ['centos7-upd-x86_64',
'centos7-os-x86_64', 'chef-stable-7-x86_64', 'bish-any-noarch',
'epel7-x86_64']
Server Override : <<inherit>>
Template Files : {}
Virt Auto Boot : 1
Virt Bridge : xenbr0
Virt CPUs : 1
Virt Disk Driver Type : raw
Virt File Size(GB) : 5
Virt Path :
Virt RAM (MB) : 512
Virt Type : xenpv
Yes, the reliability was a huge issue, and I don't sync continually.
Poke me privately if I can help any further.
- bish
Chris Johnson wrote:
> Trying to find the complete path for cobbler import of an rsync, or
> whatever works, for CentOS 7.4 of the x86_64 architecture. All the
> mirrors I've tried simply don't have one. There is no x86_64 subtree.
> Does anyone have a complete path specification? And why isn't it the
> mirrors?
>
> Thank you.
> _______________________________________________
> cobbler mailing list -- cobbler(a)lists.fedorahosted.org
> To unsubscribe send an email to cobbler-leave(a)lists.fedorahosted.org