summaryrefslogtreecommitdiffstats
path: root/cobbler/action_reposync.py
diff options
context:
space:
mode:
authormdehaan@mdehaan.rdu.redhat.com <>2006-12-15 17:59:21 -0500
committerJim Meyering <jim@meyering.net>2006-12-15 17:59:21 -0500
commit0d2ac8ab2878f8125ee6529846eac0c1e862f795 (patch)
tree79d1f2a76b490514d1fc7b3be332f0d7603e3ec2 /cobbler/action_reposync.py
parentedc6118d28d57558dd1b57d66f73467a5517c013 (diff)
downloadthird_party-cobbler-0d2ac8ab2878f8125ee6529846eac0c1e862f795.tar.gz
third_party-cobbler-0d2ac8ab2878f8125ee6529846eac0c1e862f795.tar.xz
third_party-cobbler-0d2ac8ab2878f8125ee6529846eac0c1e862f795.zip
Lots of needed doc updates on the repo management hooks.
Accidentally clobbered some of the /usr/bin/reposync using code in "cobbler reposync", so it's back to just rsync for now. Will keep it this way (because it's much simpler) unless there are a decent amount of requests.
Diffstat (limited to 'cobbler/action_reposync.py')
-rw-r--r--cobbler/action_reposync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/action_reposync.py b/cobbler/action_reposync.py
index cbd69d0..97b6ee5 100644
--- a/cobbler/action_reposync.py
+++ b/cobbler/action_reposync.py
@@ -53,7 +53,7 @@ class RepoSync:
self.dryrun = dryrun
for repo in self.repos:
print "considering: %s" % repo
- repo_path = os.path.join(repo.root, repo.name)
+ repo_path = os.path.join(self.settings.webdir, "repo_mirror", repo.name)
mirror = repo.mirror
if not os.path.isdir(repo_path):
try: