Необслуживаемая установка Ubuntu 18.04 минимальный рабочий стол (netboot с preseed.cfg)

Я пытаюсь установить минимальный рабочий стол из Ubuntu 18.04 с netboot и preseed.cfg. Я добавил следующую строку в preseed.cfg: ubiquity ubiquity/minimal_install boolean true, но это не устанавливает минимальную установку, это все еще устанавливает полную версию. Изображение netboot amd64 - For 64-bit Intel/AMD (x86_64) загружается с этого URL: http://cdimage.ubuntu.com/netboot/18.04/

Все другие настройки из файла, кажется, хорошо работают. Полное preseed.cfg файл:

d-i debconf/priority string critical
d-i auto-install/enable boolean true

# use -proposed udebs
d-i apt-setup/proposed boolean false

# minimal install (the only one not working!)
ubiquity ubiquity/minimal_install boolean true

# update and install packages
tasksel tasksel/first multiselect ubuntu-desktop
d-i pkgsel/update-policy select unattended-upgrades
d-i pkgsel/include string net-tools git ssh make mc openvpn xdotool wmctrl chrome-gnome-shell libxss1 libappindicator1 libindicator7 vino
d-i pkgsel/exclude string firefox update-manager avahi-daemon gnome-control-center gnome-software
d-i pkgsel/upgrade select full-upgrade

# localization
d-i debian-installer/language string en
d-i debian-installer/country string US
d-i debian-installer/locale string en_US.UTF-8

# keyboard
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/xkb-keymap select us

# use dhcp network configuration
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain

# user setup
d-i passwd/user-fullname string em-admin
d-i passwd/username string acc_admin
d-i passwd/user-password-crypted password [pass_here]

d-i user-setup/encrypt-home boolean false

# enable shadow passwords
d-i passwd/shadow boolean true

# hw clock
d-i clock-setup/utc boolean true
# time zone
d-i time/zone string Europe/Amsterdam

# release to install
d-i mirror/suite string bionic

# do not enable live installer, use normal instead
d-i live-installer/enable boolean false

# activate DASD, dasdfmt if needed
d-i s390-dasd/dasd string 0.0.0200,0.0.0300,0.0.0400

# DASD configuration
d-i s390-dasd/auto-format boolean true
d-i s390-dasd/force-format boolean true

# auto-partition, all files in one partition
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
d-i partman/choose_partition select finish
d-i partman/confirm_nooverwrite boolean true
d-i partman/confirm boolean true

# reboot at the end
d-i finish-install/reboot_in_progress note
1
задан 13 September 2018 в 23:52

1 ответ

preseed.cfg все еще содержит строку

tasksel tasksel/first multiselect ubuntu-desktop

который установит полную настольную систему Ubuntu (tasksel). Удалите строку и попробуйте еще раз.

0
ответ дан 7 December 2019 в 23:17

Другие вопросы по тегам:

Похожие вопросы: