Forum archive
Firstboot script not getting input
Hi guys, I'm giving the final touchs to an appliance, and copied a script to /usr/lib/inithooks/firstboot.d/myscript
myscript reads information from the user to finish configuring the system.
The problem is that when the systems boots the first time, the scripts get executed, but when it ask the first question, it doesn't receive any input. So the appliance hangs there. I'm not getting input from the keyboard. The script works normally if I execute manually in the console. Any ideas?
I've just confirmed that on firstboot of an appliance in virtualbox, at the time those scripts are being executed, there is no keyboard input!
This affects those using virtualbox as hypervisor. Let me check with vmware if this happens...