我在.seed文件中使用了这个:
d-i netcfg/choose_interface select eth0
d-i netcfg/get_hostname string fj4.testnet
d-i netcfg/disable_autoconfig boolean true
d-i netcfg/dhcp_failed note
d-i netcfg/dhcp_options select Configure network manually
d-i netcfg/get_ipaddress string 10.201.0.34
d-i netcfg/get_netmask string 255.255.0.0
d-i netcfg/get_gateway string 10.201.0.1
d-i netcfg/get_nameservers string 10.206.0.11
d-i netcfg/confirm_static boolean true而安装的系统确实有正确的ip地址和网络掩码,但是在/etc/network/interfaces文件中没有网关指令。
我遗漏了什么?
发布于 2017-03-30 15:46:07
好的,所以我认为问题在于预置文件,但实际上是与cobbler有关,它的"preseed_late_default“脚本不告诉任何人就覆盖/etc/network/接口。
https://unix.stackexchange.com/questions/354853
复制相似问题