Назад | Перейти на главную страницу

Автоматическая установка с использованием предварительно заданного - проблема с сообщением подтверждения grub

Я выполняю автоматическую установку настраиваемого сервера ubuntu 14.04, используя комбинацию методов preseed и kickstart. Все в порядке, кроме надоедливого сообщения о подтверждении grub, как показано ниже:

Файл кикстарта:

#Generated by Kickstart Configurator
#platform=AMD64 or Intel EM64T

#System language
lang en_US
#Language modules to install
langsupport en_US
#System keyboard
keyboard us
#System mouse
mouse
#System timezone
timezone Asia/Tokyo
#Root password
rootpw --disabled
#Initial user
user ubuntu --fullname "ubuntu" --iscrypted --password xxx
#Reboot after installation
reboot
#Use text mode install
text
#Install OS instead of upgrade
install
#Use CDROM installation media
cdrom
#System bootloader configuration
bootloader --location=mbr 
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel 
#System authorization infomation
auth  --useshadow  --enablemd5 
#Firewall configuration
firewall --enabled 
#Do not configure the X Window System
skipx

Файл пресида:

d-i preseed/early_command string umount /media
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition \
select Finish partitioning and write changes to disk
d-i partman/confirm boolean true

Это результат debconf-show grub-pc после установки:

Есть идеи, как избежать этого сообщения и сделать установку полностью автоматизированной. Заранее спасибо.

Редактировать: Это мой текущий файл пресида:

d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition \
select Finish partitioning and write changes to disk
d-i partman/confirm boolean true
d-i grub-installer/only_debian boolean true
d-i grub-installer/timeout  string 2

Что ж, вы не настроили никаких директив grub в своем файле preseed.

Вот что у меня есть (для Ubuntu 16.04):

d-i grub-installer/only_debian boolean true
d-i grub-installer/timeout  string 2