首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >预播Debian不会产生默认网关

预播Debian不会产生默认网关
EN

Unix & Linux用户
提问于 2017-03-30 15:04:16
回答 1查看 308关注 0票数 0

我在.seed文件中使用了这个:

代码语言:javascript
复制
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文件中没有网关指令。

我遗漏了什么?

EN

回答 1

Unix & Linux用户

发布于 2017-03-30 15:46:07

好的,所以我认为问题在于预置文件,但实际上是与cobbler有关,它的"preseed_late_default“脚本不告诉任何人就覆盖/etc/network/接口。

票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/354853

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档