I wrote a BASH script for doing an unattendend install on an ARM based Debian system. One of the packages being installed is samba.
I added
apt-get -y install samba
into my setup routine, but apt-get hangs due an ncurse configuration window for Samba workgroup.
How can I pass such windows? My script download the right smb.conf etc. after apt-get installed the packages.