diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2006-09-29 12:49:17 -0400 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-09-29 12:49:17 -0400 |
commit | 1d9b0343abaf2b23e177e3c56f19f182f2299182 (patch) | |
tree | 2d1320a4e4fcb8ce00cb0ed6d94c47af253badd7 /cobbler/api.py | |
parent | 810c7e39285c17803cfdad2909b4bec79762055c (diff) | |
download | third_party-cobbler-1d9b0343abaf2b23e177e3c56f19f182f2299182.tar.gz third_party-cobbler-1d9b0343abaf2b23e177e3c56f19f182f2299182.tar.xz third_party-cobbler-1d9b0343abaf2b23e177e3c56f19f182f2299182.zip |
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.
Diffstat (limited to 'cobbler/api.py')
-rw-r--r-- | cobbler/api.py | 5 |
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() |