-----Original Message-----
From: cobbler-bounces(a)lists.fedorahosted.org
[mailto:cobbler-bounces@lists.fedorahosted.org] On
Behalf Of Christian Horn
Sent: Wednesday, April 07, 2010 8:59 AM
To: cobbler mailing list
Subject: Re: cobbler with no local mirroring?
On Wed, Apr 07, 2010 at 11:28:51AM -0400, Matthew Miller wrote:
>
> Basically, we've got a mirror server already. It has plenty of resources,
> and it's set up to automatically sync and so on. I'd therefore like to
avoid
> duplicating effort (and wasting disk space) in cobbler, and point entirely
> at that remote mirror. The "Non-Import (Manual) Workflow" with
> --mirror-locally=N seems to get us part way there, but we still need to do
> things like "distro add" pointing to local kernel/initrd files
We also mirror ourself and let cobbler just work on that.
For it to manage pxefiles etc. it has to know about vmlinuz/initrd of the
distros thou, manage profiles.
I am not sure what funktionality you would like to get from cobbler without
having pxe/dhcp-management - and for this cobbler needs to know about the
distro/profile objects.
Christian
Sorry to resurrect a thread from a while ago, but I'm dealing with the same issue
here. We've got a nice fat internal mirror with plenty of resources. We added a repo
using --available-as (well, actually using cobbler-web with Advanced -> "Mirror
locally" disabled and the relevant repo data seems to come in, however on the distro
side it still needs a Kernel and Initrd local file path to copy over to
/tftpboot/images/DISTRO/vmlinuz/initrd . Placing the files there manually of course
results in them being wiped the next time I do a cobbler sync.
Even if we have to specify the location for each distro manually still, I'm fine with
that... but I'd like to be able to specify a URL here (in lieu of an Absolute path)
and have cobbler simply pull that down as it's doing its sync -- e.g.,
http://rhel.mirrors.example.net/5.90Server/i386/os/images/pxeboot/vmlinuz
Any pointers to the python code I'd need to hack to make this happen?
Regards,
-jc