On 07/14/2009 03:07 PM, Thomas S Hatch wrote:
Hmmm, seems this is being worked on right now, and that I will need
to
do this the hard way. Looks like "background_import" will be the way
to do it in the future.
And it works presently :)
Mind you it takes a gazillion parameters, only a few of which the
version for the website actually exposes:
remote.background_import(name, path, arch, breed, "", "",
"", "",
token) -> taskid
Logs to /var/log/cobbler/tasks/$taskid
And the usual task API stuff works as well for checking it, retrieving
the log over XMLRPC, etc.
You should be able to play with it from a devel checkout now. Usual
disclaimers about production usage apply!
--Michael