summaryrefslogtreecommitdiffstats
path: root/cobbler/api.py
diff options
context:
space:
mode:
authorroot <root@mdehaan.rdu.redhat.com>2007-09-05 14:54:48 -0400
committerroot <root@mdehaan.rdu.redhat.com>2007-09-05 14:54:48 -0400
commit26263db30e0ad51f0cabfcc6f7dde92d04cdcfbb (patch)
tree34a9ec9d736cd76840220957718690ee68ba6cbf /cobbler/api.py
parentb4d0b8603d328c7d62d0a7ff7a626707836946d8 (diff)
downloadthird_party-cobbler-26263db30e0ad51f0cabfcc6f7dde92d04cdcfbb.tar.gz
third_party-cobbler-26263db30e0ad51f0cabfcc6f7dde92d04cdcfbb.tar.xz
third_party-cobbler-26263db30e0ad51f0cabfcc6f7dde92d04cdcfbb.zip
removed deprecated enchant function/module (just use SSH!), config file cleanup.
Diffstat (limited to 'cobbler/api.py')
-rw-r--r--cobbler/api.py12
1 files changed, 0 insertions, 12 deletions
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()