This should only affect users who installed cobbler several versions
ago, before the kickstart tracking features were in ...
If you're seeing a traceback while running "cobbler sync", the following
is the fix for the problem:
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:
To apply this fix prior to the next release:
git clone git://et.redhat.com/cobbler
make
rpm -Uvh cobbler*.noarch.rpm --force
I plan on releasing this later this week, along with a fix for the RHEL5
DVD/tree "cobbler import" problem reported earlier.
--Michael