Javier Palacios wrote:
Hi,
I send attached a new version of the patch. It is able to import debian
and ubuntu distros, and I've actually tested successfully importing
a debian multiarch DVD, an ubuntu alternate CD, and local mirrors
of Fedora 9 (32 & 64 bit) and redhat 4.6.
If trying to import multiple distros at the same time, it will not exception,
but will not detect the flavour, and will assign a wrong value for kickstart
url.
This will also happens if the imported tree does not exactly fit that from
real media. As I tried to explain in my previous mail, current import decides
that the tree base is two directories over the location of kernel and initrd.
This is true for redhat based distros just because the ones at isolinux
directory are rejected. But this is not true for debian/ubuntu and probably
for other distros.
It should be decided if it is desired "cobbler import" to work on single media
of able to work with multidistro trees. And as far as I see the multi-tree
approach will difficult extension to non-redhat distros, and will not help to
cleaning the import code.
Javier Palacios
------------------------------------------------------------------------
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
Thanks very much!
I'll check this over after I finish testing the cloning items. Patch
looks fine, though I need to run it through some of the EL/Fedora use
cases too for testing.
Multi-import is probably not critical if we document the limitation,
though if we can get it doing that, it would probably be nice to have.
I'm not that worried about it and we can explain that on the Wiki and in
the manpage if need be.
--Michael