summaryrefslogtreecommitdiffstats
path: root/cobbler/action_sync.py
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler/action_sync.py')
-rw-r--r--cobbler/action_sync.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py
index c5621c6..12be718 100644
--- a/cobbler/action_sync.py
+++ b/cobbler/action_sync.py
@@ -62,7 +62,6 @@ class BootSync:
if not os.path.exists(self.settings.tftpboot):
raise CX(_("cannot find directory: %s") % self.settings.tftpboot)
self.clean_trees()
- self.copy_koan()
self.copy_bootloaders()
self.copy_distros()
self.validate_kickstarts()
@@ -93,20 +92,6 @@ class BootSync:
except OSError, e:
print _("Warning: %s restart failed: ") % service, e
- def copy_koan(self):
- """
- This is just for the "enchant" feature which a lot of folks
- probably don't use... enchant automates an SSH into a remote
- system, including koan installation if need be.
- """
- koan_path = self.settings.koan_path
- if koan_path is None or koan_path == "":
- return
- if not os.path.isfile(koan_path):
- raise CX(_("missing koan, check koan_path in /var/lib/cobbler/settings"))
- base = os.path.basename(koan_path)
- self.copyfile(koan_path, os.path.join(self.settings.webdir, base))
-
def copy_bootloaders(self):
"""
Copy bootloaders to the configured tftpboot directory