diff options
author | root <root@mdehaan.rdu.redhat.com> | 2007-09-05 14:54:48 -0400 |
---|---|---|
committer | root <root@mdehaan.rdu.redhat.com> | 2007-09-05 14:54:48 -0400 |
commit | 26263db30e0ad51f0cabfcc6f7dde92d04cdcfbb (patch) | |
tree | 34a9ec9d736cd76840220957718690ee68ba6cbf /cobbler/api.py | |
parent | b4d0b8603d328c7d62d0a7ff7a626707836946d8 (diff) | |
download | third_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.py | 12 |
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() |