I'm trying to setup an unattended Ubuntu Server 14.04 installation from PXE.
I initially tried using Kickstart. This worked okay except that the partition manager required user confirmation and so wasn't a fully unattended install (i.e. I'd need to acknowledge that it's okay to repartition the disk part way through the installation).
A colleague suggested that, for fine-grained control, I'd be better off using Preseed. Unfortunately, the preseed installation currently gets stuck at the choose_interface
section.
The boot instructions in /tftpboot/pxelinux.cfg/default
:
KERNEL images/ubuntu_server_1404/install/netboot/ubuntu-installer/amd64/linux
append auto=true vga=normal initrd=images/ubuntu_server_1404/install/netboot/ubuntu-installer/amd64/initrd.gz url=http://myNAS/pxe/preseed.cfg quiet --
are able to execute the first few lines (e.g. language/keyboard selection)
d-i debian-installer/locale string en_US
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
d-i keyboard-configuration/layoutcode string us
but the choose_interface
doesn't work automatically:
I've tried both specifying the network interface:
d-i netcfg/choose_interface select em1
and automatic selection:
d-i netcfg/choose_interface select auto
Neither of these settings worked: the installation requires human input in order to proceed.
Can you see what I'm doing wrong?