I'm new to vagrant and veewee. I'm trying to build a debian 7.4 image but after running the build
veewee vbox build 'debian-7.4'
the process gets stuck on the installation of libssl because it requires the user input to restart some services (ssh ntp exim4)
Unfortunately this is shown inside the terminal and I couldn't find any way to hit "ok" and then, of course, I get this message.
SIGNAL: 3
Ssh timeout 10000 sec has been reached.
Of course I can work around this by continuing the installation by hand through the virtualbox GUI but this should not happen in unattended installation.
How can I force the installation process to restart the services without waiting for the user input?
You need to operate at the
preseed
level, read aboutdebconf-set-selections
.Something like this should do:
@Pactrick gave the following answer which solved the exact same issue over on Unix & Linux exchange[1]:
"Set the environment variable DEBIAN_FRONTEND=noninteractive.
For example:
This will make apt-get select the default options."
[1]https://unix.stackexchange.com/questions/146283/how-to-prevent-prompt-that-ask-to-restart-services-when-installing-libpq-dev