Automatizar o desktop Ubuntu 16.04 instalar, instalação executando duas vezes

1

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
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

set 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)

Networking

d-i netcfg/choose_interface select auto
d-i netcfg/disable_dhcp boolean false
d-i netcfg/wireless_wep string
d-i netcfg/dhcp_options select

Do not configure the network at this time

d-i netcfg/dhcp_failed note
d-i netcfg/dhcp_timeout string 3
d-i netcfg/get_hostname string ubuntu

Do not filter out disks with mounted partitions.

d-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 system

d-i partman-efi/non_efi_system boolean true

select built-in emmc device

d-i partman-auto/disk string /dev/mmcblk0

use the usual partition types for your architecture

d-i partman-auto/method string regular

no swap partition

d-i partman-basicfilesystems/no_swap boolean false

use full emmc and only have one partition

d-i partman-auto/expert_recipe string \
efi-root :: \
256 300 512 free \
$iflabel{ gpt } \
method{ efi } format{ } \
. \
4000 10000 -1 ext4 \
$primary{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
.

select disk recipe listed above

d-i partman-auto/choose_recipe select efi-root

Partition without confirmation

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_nooverwrite boolean true
d-i partman/confirm boolean true

Boot loader This one makes grub-installer install to the MBR even if it finds some other OS

d-i grub-installer/with_other_os boolean true
d-igrub-installer/only_debian boolean false
d-i grub-installer/bootdev string /dev/mmcblk0

Keyboard selection

d-i keyboard-configuration/layoutcode string us
d-i keyboard-configuration/variantcode string

Local

d-i debian-installer/locale string en_US.UTF-8
d-i debian-installer/locale seen true

Timezone

d-i clock-setup/utc-auto boolean true
d-i clock-setup/utc boolean true
d-i time/zone string US/Pacific
d-i clock-setup/ntp boolean true

disable automatic keymap detection

d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us

User Creation

d-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.

    
por Ghostii 07.07.2017 / 10:59

0 respostas