summaryrefslogtreecommitdiffstats
path: root/cobbler/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler/api.py')
-rw-r--r--cobbler/api.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/cobbler/api.py b/cobbler/api.py
index ffb25ba..8208a80 100644
--- a/cobbler/api.py
+++ b/cobbler/api.py
@@ -107,11 +107,10 @@ class BootAPI:
sync = action_sync.BootSync(self._config)
return sync.run(dryrun=dryrun)
- def enchant(self,sysname,profile,system,password):
+ def enchant(self,sysname,profile,password):
"""
Apply a system profile to a running remote system, replacing
- the current OS. Either profile or system should be None, other
- arguments required.
+ the current OS.
"""
enchant = action_enchant.Enchant(self._config,sysname,profile,password)
return enchant.run()