wheezy fai sysinfo reboots without reboot flag
Brian Kroth
bpkroth at gmail.com
Tue Aug 14 04:43:28 CEST 2012
Brian Paul Kroth <bpkroth at gmail.com> 2012-08-13 15:25:
> Thomas Neumann <blacky+fai at fluffbunny.de> 2012-08-13 21:33:
>> On Mon, 13 Aug 2012 12:14:19 -0500
>> Brian Kroth <bpkroth at gmail.com> 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
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20120813/da962b40/attachment.bin>
More information about the linux-fai
mailing list