Por favor, sugira se há configurações incorretas ou se o sintoma é um problema conhecido.
Viu os outros artigos e definiu netcfg / choose_interface = eth0 como o parâmetro de inicialização.
Espera-se que a rede estática e o host / domínio sejam configurados nas interfaces / etc / network / com base na configuração no arquivo de pré-configuração abaixo. No entanto, o DHCP foi configurado.
cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
Outras configurações no arquivo preseed, como usuário, partição de disco, etc, foram configuradas como esperado. O log do instalador mostra pré-ajustes.
/var/log/installer# grep preseed syslog
Jun 21 17:24:51 kernel: [ 0.000000] Command line: initrd=/install/initrd.gz ks=http://xxx.96.102.150/ks.cfg preseed/url=http://xxx.96.102.150/preseed.txt
Jun 21 17:24:51 kernel: [ 0.000000] Kernel command line: initrd=/install/initrd.gz ks=http://xxx.96.102.150/ks.cfg preseed/url=http://xxx.96.102.150/preseed.txt
Jun 21 17:24:58 preseed: successfully loaded preseed file from file:///preseed.cfg
Jun 21 17:25:20 preseed: successfully loaded preseed file from /var/spool/kickseed/parse/preseed.cfg
Jun 21 17:25:46 anna[8833]: DEBUG: retrieving network-preseed 1.62ubuntu1
Jun 21 17:26:01 main-menu[7701]: INFO: Menu item 'network-preseed' selected
Jun 21 17:26:01 preseed: successfully loaded preseed file from http://xxx.96.102.150/preseed.txt
Jun 21 17:26:01 main-menu[7701]: (process:12262): 2016-06-21 17:26:01 URL:http://xxx.96.102.150/preseed.txt [7089/7089] -> "/tmp/debconf-seed" [1]
Jun 21 07:36:37 finish-install: info: Running /usr/lib/finish-install.d/07preseed
O arquivo /var/log/installer/cdebconf/questions.dat tem as informações abaixo.
Name: netcfg/get_domain
Template: netcfg/get_domain
Value: demo.local
Owners: netcfg
Flags: seen
Name: netcfg/get_ipaddress
Template: netcfg/get_ipaddress
Value: xxx.96.102.139
Owners: netcfg
Flags: seen
...
Solução alternativa
Coloque a configuração de rede no kickstart.
network --bootproto=static --device=eth0 --hostname=myhost --ip=xxx.96.102.139 --netmask=255.255.255.192 --gateway=xxx.96.102.129 --nameserver=xxx.96.102.141
Static hostname: kickseed
Icon name: computer-vm
Chassis: vm
Boot ID: 2e4cc092b21c429e9e0e0d1a3316cf5d
Operating System: Ubuntu 14.04.3 LTS
Kernel: Linux 3.19.0-25-generic
Architecture: x86_64
Usando o kickstart para definir o idioma do menu de instalação, teclado.
isolinux / isolinux.cfg
# D-I config version 2.0
include menu.cfg
default vesamenu.c32
prompt 0
timeout 1
ui gfxboot bootlogo
isoinux / txt.cfg
default install
label install
menu label ^Install Ubuntu Server
kernel /install/vmlinuz
append initrd=/install/initrd.gz ks=http://xxx.96.102.150/ks.cfg preseed/url=http://xxx.96.102.150/preseed.txt netcfg/choose_interface=eth0
Arquivo preseed
#--------------------------------------------------------------------------------
# NETWORK
#--------------------------------------------------------------------------------
# netcfg will choose an interface that has link if possible. This makes it
# skip displaying a list if there is more than one interface.
# netcfg/choose_interface=eth0 is set as the boot parameter.
#d-i netcfg/choose_interface select auto
# If you prefer to configure the network manually, uncomment this line and
# the static network configuration below.
d-i netcfg/disable_autoconfig boolean true
# Disable that annoying WEP key dialog.
d-i netcfg/wireless_wep string
# Static network configuration.
# IPv4 example
d-i netcfg/get_ipaddress string xxx.96.102.139
d-i netcfg/get_netmask string 255.255.255.192
d-i netcfg/get_gateway string xxx.96.102.129
d-i netcfg/get_nameservers string xxx.96.102.141
d-i netcfg/confirm_static boolean true
# Any hostname and domain names assigned from dhcp take precedence over
# values set here. However, setting the values still prevents the questions
# from being shown, even if values come from dhcp.
# Hostname:
netcfg netcfg/get_hostname string myhost
# Domain name:
netcfg netcfg/get_domain string demo.local
# If you want to force a hostname, regardless of what either the DHCP
# server returns or what the reverse DNS entry for the IP is, uncomment
# and adjust the following line.
d-i netcfg/hostname string myhost