我正在编写一个脚本,以使用debootstrap(在Ubuntu 16.04服务器计算机上)将Ubuntu 16.04服务器安装到chroot监狱中。
在安装keyboard-configuration
程序包期间,它要求输入键盘类型:
Setting up keyboard-configuration (1.108ubuntu15) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Configuring keyboard-configuration
----------------------------------
The layout of keyboards varies per country, with some countries having multiple
common layouts. Please select the country of origin for the keyboard of this
computer.
1. Afghani 48. Irish
2. Albanian 49. Italian
...
28. English (UK) 75. Slovak
29. English (US) 76. Slovenian
...
45. Icelandic 92. Vietnamese
46. Indian 93. Wolof
47. Iraqi
Country of origin for the keyboard:
我想使它自动化,以便它不询问,而仅继续进行安装。
我怎样才能做到这一点?