diff options
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | cobbler/action_sync.py | 11 |
2 files changed, 7 insertions, 5 deletions
@@ -4,6 +4,7 @@ Cobbler CHANGELOG * Thu Nov 07 2007 - 0.6.4 - Changed permissions of auth.conf - Fixes for working with rhn_yum_plugin +- still allow repo configuration for distro repos that have just 1 repo (like C5.1) * Wed Nov 07 2007 - 0.6.3 - Be able to define and use Multiple NICs per system diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py index 47586d1..fb70911 100644 --- a/cobbler/action_sync.py +++ b/cobbler/action_sync.py @@ -678,11 +678,12 @@ class BootSync: # tack on all the install source repos IF there is more than one. # this is basically to support things like RHEL5 split trees # if there is only one, then there is no need to do this. - if len(blended["source_repos"]) > 1: - for r in blended["source_repos"]: - # convert webdir to path - filename = self.settings.webdir + "/" + "/".join(r[0].split("/")[4:]) - input_files.append(filename) + + #if len(blended["source_repos"]) > 1: + for r in blended["source_repos"]: + # convert webdir to path + filename = self.settings.webdir + "/" + "/".join(r[0].split("/")[4:]) + input_files.append(filename) for repo in blended["repos"]: input_files.append(os.path.join(self.settings.webdir, "repo_mirror", repo, "config.repo")) |