summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-04-02 10:59:30 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-04-02 10:59:30 -0400
commit11b832f8f22f4df920f71e8e7f85bb5c631ca034 (patch)
tree8b6249175d9071e80498c9962fc199aaff2837f4 /cobbler
parent2c64190e7e082867750e1be96181d411ae9dcf98 (diff)
downloadthird_party-cobbler-11b832f8f22f4df920f71e8e7f85bb5c631ca034.tar.gz
third_party-cobbler-11b832f8f22f4df920f71e8e7f85bb5c631ca034.tar.xz
third_party-cobbler-11b832f8f22f4df920f71e8e7f85bb5c631ca034.zip
Fix bug with cobbler sync and older configs.
Diffstat (limited to 'cobbler')
-rw-r--r--cobbler/action_sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py
index 98f018b..2f8902a 100644
--- a/cobbler/action_sync.py
+++ b/cobbler/action_sync.py
@@ -655,7 +655,7 @@ class BootSync:
# kickstart path rewriting (get URLs for local files)
if kickstart_path is not None and kickstart_path != "":
- if system is not None and kickstart_path.startswith("/") or kickstart_path.find("/cobbler/kickstarts/") != -1:
+ if system is not None and kickstart_path.startswith("/"):
pxe_fn = self.get_pxe_filename(system.name)
kickstart_path = "http://%s/cblr/kickstarts_sys/%s/ks.cfg" % (self.settings.server, pxe_fn)
elif kickstart_path.startswith("/") or kickstart_path.find("/cobbler/kickstarts/") != -1: