summaryrefslogtreecommitdiffstats
path: root/cobbler/api.py
diff options
context:
space:
mode:
authorroot <root@drwily.rdu.redhat.com>2007-09-05 20:30:27 -0400
committerroot <root@drwily.rdu.redhat.com>2007-09-05 20:30:27 -0400
commitbcc26a2ec49cfd3b151077f34270248ac24dd0b3 (patch)
treec7dade13b7a5b4947e0ebfa0c19b0e086919569b /cobbler/api.py
parent1b9d1fde260f6d62cdaf7f0bea2948bd16f24e64 (diff)
parent26263db30e0ad51f0cabfcc6f7dde92d04cdcfbb (diff)
downloadthird_party-cobbler-bcc26a2ec49cfd3b151077f34270248ac24dd0b3.tar.gz
third_party-cobbler-bcc26a2ec49cfd3b151077f34270248ac24dd0b3.tar.xz
third_party-cobbler-bcc26a2ec49cfd3b151077f34270248ac24dd0b3.zip
Merge branch 'master' of ssh://mdehaan@git.fedoraproject.org/git/hosted/cobbler
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()