Preseed 不会在 Ubuntu 14.04 上自动选择网络接口;自动安装需要人工输入

Ale*_*ord 12 pxe preseed

我正在尝试从 PXE 设置无人值守的 Ubuntu Server 14.04 安装。

我最初尝试使用 Kickstart。这一切正常,只是分区管理器需要用户确认,因此不是完全无人值守的安装(即我需要确认在安装过程中重新分区磁盘是可以的)。

一位同事建议,为了进行细粒度控制,我最好使用 Preseed。不幸的是,preseed 安装目前卡在了choose_interface部分。

中的引导说明/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 --
Run Code Online (Sandbox Code Playgroud)

能够执行前几行(例如语言/键盘选择)

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
Run Code Online (Sandbox Code Playgroud)

choose_interface不会自动工作:

在此处输入图片说明

我已经尝试过指定网络接口:

d-i netcfg/choose_interface select em1
Run Code Online (Sandbox Code Playgroud)

和自动选择:

d-i netcfg/choose_interface select auto
Run Code Online (Sandbox Code Playgroud)

这些设置都不起作用:安装需要人工输入才能继续。

你能看出我做错了什么吗?

Ron*_*Ron 10

这是(或曾经?)一个已报告的错误。解决方案是尝试将netcfg/choose_interface= YourInterface其作为引导选项传递给内核。