Ronald J. Yacketta wrote:
> Hello everyone!
>
> I have been tasked with replacing our current fedora repo mirror / PXE 
> boot / DHCPd  / tftpd setup with a cobbler setup, only wrench in the 
> plan is keeping our  current fedora repo (not replicating / replacing 
> with cobbler).
>
> So, is it possible to have cobbler look at 'non cobbler' repository to 
> install from instead of importing / creating a repo / distro etc.. 
> within cobbler?
>
>
> -Ron
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>   

Example of not mirroring an external distro tree:

cobbler distro add --name=foo --initrd=/path/to/initrd.img 
--kernel=/path/to/vmlinuz
# and make sure your kickstart file has a good "url" line in it

OR:

cobbler import --name=whatever --path=/mnt/mytrees 
--mirror-locally=nfs://server:/mytrees/

Example of just referencing an external repo:

cobbler repo add --name=epel4i386 --mirror-locally=N 
--path=http://download.fedora.redhat.com/pub/epel/testing/4/i386/
cobbler repo add --name=mirror2 
--path=http://somerepo-i-really-do-want-to-mirror/path/
cobbler profile edit --name=bar --repos="epel4i386 mirror2"

Now the profile will have all of those repos available for kickstart, 
and if yum_post_install_mirror is enabled in /etc/cobbler/settings, the 
installed systems will know about the above in their installed 
/etc/yum.repos.d also

Hopefully that answers the question?

--Michael

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to