首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Debian网络安装到预置主机名和域名

问Debian网络安装到预置主机名和域名
EN

Unix & Linux用户
提问于 2021-10-24 21:19:29
回答 1查看 568关注 0票数 1

基本上与Debian预设:如何强制提示主机名和域?相反

随着新的Debian斗牛眼发布,网络安装要求我提供主机名和域名。如何preseed它来禁用这样的提示?

  • 我在buster发行版中使用了相同的preseed文件,并且无法回忆它是否需要主机名和域名。至少它没有给我带来麻烦。
  • 我检查了新Debian斗牛preseed样本文件,发现设置与我的相同。
代码语言:javascript
复制
# Any hostname and domain names assigned from dhcp take precedence over
# values set here. However, setting the values still prevents the questions
# from being shown, even if values come from dhcp.
d-i netcfg/get_hostname string my-hostname
d-i netcfg/get_domain string my-domain

# If you want to force a hostname, regardless of what either the DHCP
# server returns or what the reverse DNS entry for the IP is, uncomment
# and adjust the following line.
d-i netcfg/hostname string my-domain

# The wacky dhcp hostname that some ISPs use as a password of sorts.
d-i netcfg/dhcp_hostname string my-domain

如何预置主机名和域名以禁用它们的提示?

EN

回答 1

Unix & Linux用户

发布于 2022-12-19 16:11:18

我使用的是完全相同的预置,但发生在我身上的是,我没有提示,但是主机名被固定为'debian‘,这不是我想要的。

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

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

复制
相关文章

相似问题

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