Muito novo no cenário do Ubuntu e estou tentando automatizar a instalação de um desktop do Ubuntu 16.04. Eu consegui obter o meu processo de instalação ao ponto que ele usa valores preseed para responder a todas as perguntas durante o processo de instalação. Em seguida, o sistema é reiniciado, mas meu problema surge: ele faz as perguntas de configuração do usuário novamente. Portanto, ele primeiro executa uma janela com um título "install (como superusuário)" e a segunda janela é chamada de "configuração do sistema". Depois que eu tiver respondido as perguntas novamente e o sistema for reinicializado, eu tenho dois usuários na tela de login, o pré-configurado e o que eu tive que fazer manualmente. Alguém tem alguma ideia do meu problema?
Inicializando a partir do efi USB:
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fiset menu_color_normal=white/black
set menu_color_highlight=black/light-grayset timeout=0 set default="0"
menuentry "Start " { set gfxpayload=keep linux /casper/vmlinuz boot=casper file=/cdrom/install/preseed.cfg automatic-ubiquity quiet noprompt auto=ture priority=critical ubiquity/reboot=true noshell splash languagechooser/language-name=English --
initrd /casper/initrd.lz}
e meu arquivo de preseed (preseed.cfg)
Networkingd-i netcfg/choose_interface select auto
Do not configure the network at this time
d-i netcfg/disable_dhcp boolean false
d-i netcfg/wireless_wep string
d-i netcfg/dhcp_options selectd-i netcfg/dhcp_failed note
Do not filter out disks with mounted partitions.
d-i netcfg/dhcp_timeout string 3
d-i netcfg/get_hostname string ubuntud-i partman/filter_mounted boolean false
Remove existing software RAID partitions if they exist.d-i partman-md/device_remove_md boolean true
Do not encrypt user's home directory.d-i user-setup/encrypt-home boolean false
Do not require mount points for partitions with filesystems.d-i partman-basicfilesystems/no_mount_point boolean false
non-efi systemd-i partman-efi/non_efi_system boolean true
select built-in emmc deviced-i partman-auto/disk string /dev/mmcblk0
use the usual partition types for your architectured-i partman-auto/method string regular
no swap partitiond-i partman-basicfilesystems/no_swap boolean false
use full emmc and only have one partitiond-i partman-auto/expert_recipe string \
select disk recipe listed above
efi-root :: \
256 300 512 free \
$iflabel{ gpt } \
method{ efi } format{ } \
. \
4000 10000 -1 ext4 \
$primary{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
.d-i partman-auto/choose_recipe select efi-root
Partition without confirmationd-i partman/confirm_write_new_label boolean true
Finish partitioning and write changes to disk
d-i partman/choose_partition selectd-i partman/confirm_nooverwrite boolean true
Boot loader This one makes grub-installer install to the MBR even if it finds some other OS
d-i partman/confirm boolean trued-i grub-installer/with_other_os boolean true
Keyboard selection
d-igrub-installer/only_debian boolean false
d-i grub-installer/bootdev string /dev/mmcblk0d-i keyboard-configuration/layoutcode string us
Local
d-i keyboard-configuration/variantcode stringd-i debian-installer/locale string en_US.UTF-8
Timezone
d-i debian-installer/locale seen trued-i clock-setup/utc-auto boolean true
disable automatic keymap detection
d-i clock-setup/utc boolean true
d-i time/zone string US/Pacific
d-i clock-setup/ntp boolean trued-i console-setup/ask_detect boolean false
User Creation
d-i console-setup/layoutcode string usd-i passwd/root-login boolean false
d-i passwd/user-fullname string fullname
d-i passwd/user-fullname seen true
d-i passwd/username string user
d-i passwd/username seen true
d-i passwd/user-password password 1234
d-i passwd/user-password-again password 1234
d-i passwd/user-password seen true
d-i passwd/auto-login boolean true
d-i user-setup/allow-password-weak boolean true
Agradeço antecipadamente pelas respostas.