Package: fai-server
Version: 5.0.1

Hello.

This bug is filed against fai-server, but actually I'm booting off the 
fai-cd64_small_5.0.1.iso from http://fai-project.org/fai-cd/.

I boot from the CD and use grub to edit the command line.  I add 
sshd,wait,debug to the default FAI_FLAGS of createvt,verbose.

The system echos a message and sits in sleep 50000 as seen starting at this 
line in lib/subroutines: 
https://github.com/faiproject/fai/blob/5.0.1/lib/subroutines#L874

But, at that point, it hasn't started bash on an extra virtual terminal yet... 
so I cannot edit anything.

This is because the sleep 50000 is inside task_confdir(), and the code that 
creates the virtual terminals lives inside task_setup().

Back in bin/fai, task confdir is called before task setup.  (In fstart(), see 
https://github.com/faiproject/fai/blob/5.0.1/bin/fai#L165)

I recommend simply moving the last lines of lib/subroutines: task_confdirs() to 
the bottom of task_setup().

I hope this helps.   Cheers!

--Dave

Reply via email to