>
> I see value in supporting the following:
> # cobbler distro add --kernel=http://path/to/vmlinuz
> --initrd=http://path/to/initrd.img --name=foo
>
> This command would copy vmlinuz and initrd.img in the correct places
> under /tftpboot making them available for PXE booting.
> It would allow people to use machines on the Internet (via http)
> instead of being forced to copy things locally (via NFS or other
> means).
I believe that you are asking for a change in the semantics of cobbler 
distro add (or perhaps cobbler import).   Changing command semantics 
usually has unexpected results.

I've recently found that I want to do the same thing and that the 
following works:

1.  Copy the kernel and initrd to some place local with, say, wget.
2.  Define the distribution with a command pointing to the local files 
and add a ksmeta defining the tree at the http location.

Now, this is a (slight) abuse of the machinery, but will get the job 
done without copying more than you need locally.

I hope this is helpful.

On Mon, 6 Jul 2009 16:00:41, Paul Company <[email protected]> wrote:
> On the "how something works" front:
> I see value in supporting the following:
> # cobbler distro add --kernel=http://path/to/vmlinuz
> --initrd=http://path/to/initrd.img --name=foo
>
> This command would copy vmlinuz and initrd.img in the correct places
> under /tftpboot making them available for PXE booting.
> It would allow people to use machines on the Internet (via http)
> instead of being forced to copy things locally (via NFS or other
> means). Have you ever tried to NFS mount something from a remote
> machine on the Internet? Doesn't work.
>
> ON the "what to do" front:
> I currently have this issue at work, where our distros (vmlinuz &
> initrd.img) are available via http but they are not available via NFS
> (and will never be).

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

Reply via email to