Hi How about creating simple bash script which would wait for user input??
Regards, Olivia 2012/8/14 Brian Kroth <[email protected]> > Brian Paul Kroth <[email protected]> 2012-08-13 15:25: > > Thomas Neumann <[email protected]> 2012-08-13 21:33: >> >>> On Mon, 13 Aug 2012 12:14:19 -0500 >>> Brian Kroth <[email protected]> wrote: >>> >>>> Hi all, I'm testing fai+wheezy (4.0.3) and have a client setup to >>>> pxeboot to a >>>> sysinfo without the reboot flag[...] >>>> >>> >>> Check the list for an earlier message of mine. I've run into the same >>> problem. >>> >>> If no error occurs, then fai _will_ reboot the system. You can tell fai >>> to halt instead, but you can't simply make it stop and do nothing. Reboot >>> or Halt. >>> >>> Solution: >>> a) provoke an error somewhere during execution >>> b) use my attached patch to force a non-reboot >>> >>> bye >>> thomas >>> >> >> I thought I remembered seeing something similar in the past, but couldn't >> find it at the time. >> >> Here it is for future hunters: >> https://lists.uni-koeln.de/**pipermail/linux-fai/2012-July/**009735.html<https://lists.uni-koeln.de/pipermail/linux-fai/2012-July/009735.html> >> >> I should have mentioned earlier that after reading the code I was >> starting to use option (a) above (there's almost always something that >> complains during a real install, but I guess not during sysinfo), but I >> think I'll use your hook instead. >> >> Thanks, >> Brian >> > > That hook actually never gets called when using FAI_ACTION=sysinfo since > task_action()'s sysinfo case calls task_faiend() rather than "task faiend" > (call_hook is done in task(), not task_faiend()). > > So, I guess it's back to figuring out how to induce a non-fatal error ... > > Thanks, > Brian >
