我在一个无人值守的Ubuntu18.04桌面安装的preseed.cfg文件中写了以下几行。
# Packages, Mirrors, Image
d-i base-installer/kernel/override-image string linux-server
d-i base-installer/kernel/override-image string linux-image-amd64
d-i mirror/country string US
d-i mirror/http/proxy string
d-i apt-setup/restricted boolean true
d-i apt-setup/universe boolean true
d-i pkgsel/install-language-support boolean false
d-i pkgsel/include string openssh-server build-essential
tasksel tasksel/first multiselect ubuntu-desktop安装之后,我运行了dpkg -l | grep ssh,只看到了libssh-4和openssh-client包。我不认为d-i命令有任何问题。知道怎么解决吗?
发布于 2021-08-17 22:07:14
如果您正在使用Ubiquity (桌面映像),则wiki声明pkgsel和tasksel预置设置将被忽略。
来自https://wiki.ubuntu.com/UbiquityAutomation
Preseeding keys for the following installer components will not be used in Ubiquity, usually because they do not fit with Ubiquity's mode of operation:
netcfg
LVM and RAID partitioning
base-installer
pkgsel/tasksel
finish-install https://askubuntu.com/questions/1358602
复制相似问题