[cobbler] Re: Complete path for a cobbler import of 7.4.1708 for x86_65.

2018-01-20 Thread bishop
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 --namecentos7-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   : <>
> 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 : <>
> Red Hat Management Server  : <>
> 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  : <>
> Name Servers   : []
> Name Servers Search Path   : []
> Owners : ['admin']
> Parent Profile :
> Internal proxy :
> Red Hat Management Key : <>
> Red Hat Management Server  : <>
> Repos  : ['centos7-upd-x86_64', 'centos7-os-x86_64', 
> 'chef-stable-7-x86_64', 'bish-any-noarch', 'epel7-x86_64']
> Server Override: <>
> 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@lists.fedorahosted.org
> To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org


[cobbler] Re: Complete path for a cobbler import of 7.4.1708 for x86_65.

2018-01-20 Thread Locane
If all you want to do is important CentOS 7.4 to cobbler, then all you need
to do is mount the DVD to a directory and cd to it, then:

cobbler import --name "centos_7.4" --path `pwd`

If I remember right, Cobbler import fails silently if you don't give it a
name and an import path.

If all you really want is a link, here's one from a mirror at UW:

http://centos.s.uw.edu/centos/7.4.1708/isos/x86_64/

I didn't see an "ISOs" directory at vault.centos.org under CentOS 7.4
either strangely - I don't know why they do that.  There was one for 7.3.
Maybe they expect if you want the latest version you'll download it from
the splash page. ¯\_(ツ)_/¯

On Jan 20, 2018 11:03 AM, "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@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org