You don't need to edit the source code. You can create a hook for this task and at the end skip the task so that the normal subroutine won't execute anymore.
2015-08-05 0:01 GMT+02:00 John G Heim <jh...@math.wisc.edu>: > > > On 07/24/2015 05:18 PM, Thomas Lange wrote: > >> On Fri, 24 Jul 2015 11:05:33 -0500, John G Heim <jh...@math.wisc.edu> >>>>>>> said: >>>>>>> >>>>>> >> > After my FAI install finishes, the PXE boot config file gets >> renamed to >> > <something>.disable. I am guessing fai does that somehow. Can I >> disable >> > that? >> task chboot is logging into the install server and calls fai-chboot >> which disables the pxe config. >> >> You may redefine the subroutine task_chboot, or undefine LOGUSER or >> set $FAI_LOGPROTO to none. But this will also disable saving the log >> files to your install server. >> > > When you say "redefine the subroutine task_chboot," I take it you mean > edit the fai source code, right? Or can you redefine a task subroutine some > other way? I see in the documentation that tasks are defined in > /usr/lib/fai/subroutines. I think I can edit that to fix my problem. But > whatever changes I make will be wiped out if I rebuild the nfsroot, right? >