Hello All,
I have been working with Cobbler for a while now, and I am more familiar
with XMLRPC/remote function. I am now working on a few projects that
require post install triggers. I have read through the documentation, and
found it sparse, confusing, and just not working for me.
I am trying to build a simple trigger in
/usr/lib/python2.6/site-packages/cobbler/modules called
install_post_noreload.py. It simply adds a string to the ksmeta field for
the system, so if it somehow reboots, it will only reload the OS, and not
blow away the data drive. I thought this would be a simple task, but all i
have run into are problems. I have tried implementing XMLRPC from the
remote scripts as if it were on another system, also tried to use the API
functions, but have gotten strange errors, that the API was missing _config.
All the simple examples from the Cobbler API reference page do not work for
me.
Can anyone suggest the quickest and most efficient way to go about editing
system profiles like this? I am running 1.6.8.
Thanks in advance!
Eric
Show replies by date