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")
----
In fact, it's exactly that. modules/ manage_ import_ debian_ ubuntu. py
self. logger. info("traversin g distro %s" % distro.name) kernel. find("ks_ mirror" ) != -1:
basepath = os.path. dirname( distro. kernel)
self. logger. info("descent into %s" % top)
dists_ path = os.path. join(self. path, "dists") isdir(dists_ path):
self. process_ repos()
self. logger. info("this distro isn't mirrored")
from: cobbler/
----
def repo_finder(self, distros_added):
for distro in distros_added:
# FIXME : Shouldn't decide this the value of self.network_root ?
if distro.
top = self.get_rootdir()
if not os.path.
else:
----