Comment 5 for bug 765224

Revision history for this message
Tom Ellis (tellis) wrote : Re: import from mini.iso fails

In fact, it's exactly that.
from: cobbler/modules/manage_import_debian_ubuntu.py
----
    def repo_finder(self, distros_added):
        for distro in distros_added:
            self.logger.info("traversing distro %s" % distro.name)
            # FIXME : Shouldn't decide this the value of self.network_root ?
            if distro.kernel.find("ks_mirror") != -1:
                basepath = os.path.dirname(distro.kernel)
                top = self.get_rootdir()
                self.logger.info("descent into %s" % top)
                dists_path = os.path.join(self.path, "dists")
                if not os.path.isdir(dists_path):
                    self.process_repos()
            else:
                self.logger.info("this distro isn't mirrored")
----