diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2006-10-12 12:05:09 -0400 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-10-12 12:05:09 -0400 |
commit | c677dec04e38507b6536516d461e4350391c9cb3 (patch) | |
tree | 9090bc3e999cbbe45d73b06bf3a7477475a22ccf /cobbler/api.py | |
parent | 55ce69eb59d2080aaeea7e4f712583e9967f6167 (diff) | |
download | third_party-cobbler-c677dec04e38507b6536516d461e4350391c9cb3.tar.gz third_party-cobbler-c677dec04e38507b6536516d461e4350391c9cb3.tar.xz third_party-cobbler-c677dec04e38507b6536516d461e4350391c9cb3.zip |
Development error temporarily removed enchant from the CLI accessible options. Putting it back and making it a part of the system subcommands to make it more consistant (parsing is better too this way).
Diffstat (limited to 'cobbler/api.py')
-rw-r--r-- | cobbler/api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cobbler/api.py b/cobbler/api.py index 80ed58d..186eca6 100644 --- a/cobbler/api.py +++ b/cobbler/api.py @@ -107,12 +107,12 @@ class BootAPI: sync = action_sync.BootSync(self._config) return sync.run(dryrun=dryrun) - def enchant(self,sysname,profile,password): + def enchant(self,sysname,password): """ Apply a system profile to a running remote system, replacing the current OS. """ - enchant = action_enchant.Enchant(self._config,sysname,profile,password) + enchant = action_enchant.Enchant(self._config,sysname,password) return enchant.run() def import_distros(self,tree_path): |