我试图通过networking完全自动化Ubuntu安装,但是只有在networking适配器检测之后才加载预先select的文件。
即使在预先select的文件中有这些选项,安装程序也总是要求这个选项:
# Select language di debconf/language string en_US:en # Locale settings di localechooser/shortlist select other di localechooser/continentlist select South America di localechooser/countrylist/South_America select BR di localechooser/preferred-locale select en_US.UTF-8 # Keyboard selection. # Disable automatic (interactive) keymap detection. di console-setup/ask_detect boolean false di keyboard-configuration/layout select English (US) di keyboard-configuration/variant select English (US) - English (US, alternative international)
networking检测后,安装无人看pipe,因为它应该从一开始。
我想我在内核启动参数中丢失了一些东西,但我无法确定问题,这里是pxelinux.cfgconfiguration:
#Ubuntu 12.04 LTS x86_64 Node label 1 menu label ^1. Ubuntu 12.04 LTS "Precise Pangolin" x86_64 Node kernel ubuntu/precise/amd64/linux append vga=normal initrd=ubuntu/precise/amd64/initrd.gz auto url=http://mynetwork.install.server/preseed/cluster-node/precise.cfg --
提前致谢,
要让您的安装设置networking并下载预先部署,您需要将以下内容添加到pxelinux.cfg文件的APPEND部分:
locale=en_US设置语言环境 keyboard-configuration/layoutcode=us来设置键盘configuration ipv6.disable=1以防止接口询问IPv6地址 hostname=<put hostname here>设置主机名 interface=<specify the interface here>来设置接口 您的pxelinux.cfg文件必须如下所示:
#Ubuntu 12.04 LTS x86_64 Node label 1 menu label ^1. Ubuntu 12.04 LTS "Precise Pangolin" x86_64 Node kernel ubuntu/precise/amd64/linux append vga=normal initrd=ubuntu/precise/amd64/initrd.gz locale=en_US keyboard-configuration/layoutcode=us ipv6.disable=1 hostname=somehostname interface=eth0 auto url=http://mynetwork.install.server/preseed/cluster-node/precise.cfg --