From 1d9b0343abaf2b23e177e3c56f19f182f2299182 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 29 Sep 2006 12:49:17 -0400 Subject: Commiting the (working) enchant feature and associated changes to enable it. Some error handling is needed but it's functional. See NEWS and manpage for documentation on enchant. --- cobbler/api.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cobbler/api.py') 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() -- cgit