Thanks for your suggestions. I finally found a solution: I programmed my script to automatically press the Enter key twice (once to accept the default keyboard configuration and once to accept the default language settings). The command is: echo -ne '\n\n' | apt-get install -y console-tools -- Jason Hsu <jhsu802701@jasonhsu.com>