- finding default kickstart template for fedora 10.0
fedora10, /etc/cobbler/sample_end.ks = importer.set_variance(fedora, 10.0, 1.0, i386)
- processing rpm : generic-release-9.91-2.noarch.rpm
- finding default kickstart template for redhat 9.0
rhel9, /etc/cobbler/sample.ks = importer.set_variance(redhat, 9.0, 91.0, i386)
--os-version for breed redhat must be one of rhel2.1, rhel3, rhel4, rhel5, fedora5, fedora6, fedora7, fedora8, fedora9, fedora10, generic24, generic26, other, given was rhel9
I'm not sure of the best approach here. Should cobbler interpret generic-release as a fedora release? Alternatively, should we stop scanning "*release*rpm" packages once we find a good one (e.g. redhat-release or fedora-release)?
Probably is just to modify the glob in get_release_file to match self.breed + "*release*" instead of just "*release*". I'm trusting in memory, so maybe a proper self.breed needs to be created at ImporterXXX class. And I'm sure than the release glob has a '-' somewhere. If you understand my explanation and check successfully, great. If not, I will be able to check that in a few hours.
Javier Palacios