我正在编写一个脚本,用于在Ubuntu 16.04服务器上使用debootstrap将其安装到chroot监狱中(在一台Ubuntu 16.04服务器机器上)。
在设置
我想自动化这个过程,这样它就不会询问,而是继续安装。
我该如何做到这一点?
在设置
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:
我想自动化这个过程,这样它就不会询问,而是继续安装。
我该如何做到这一点?