From 26263db30e0ad51f0cabfcc6f7dde92d04cdcfbb Mon Sep 17 00:00:00 2001 From: root Date: Wed, 5 Sep 2007 14:54:48 -0400 Subject: removed deprecated enchant function/module (just use SSH!), config file cleanup. --- cobbler/api.py | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'cobbler/api.py') diff --git a/cobbler/api.py b/cobbler/api.py index 6b22d30..f5d3322 100644 --- a/cobbler/api.py +++ b/cobbler/api.py @@ -18,7 +18,6 @@ import config import utils import action_sync import action_check -import action_enchant import action_import import action_reposync import action_status @@ -41,7 +40,6 @@ class BootAPI: self._config = config.Config(self) self.deserialize() self.__settings = self._config.settings() - self.sync_flag = self.__settings.minimize_syncs def version(self): """ @@ -198,16 +196,6 @@ class BootAPI: reposync = action_reposync.RepoSync(self._config) return reposync.run() - def enchant(self,address,profile,systemdef,is_virt): - """ - Re-kickstart a running system. - Either profile or systemdef should be a name of a - profile or system definition, the other should be None. address is an - address reachable by SSH. - """ - enchanter = action_enchant.Enchant(self._config,address,profile,systemdef,is_virt) - return enchanter.run() - def status(self,mode): statusifier = action_status.BootStatusReport(self._config, mode) return statusifier.run() -- cgit