基本上与Debian预设:如何强制提示主机名和域?相反
随着新的Debian斗牛眼发布,网络安装要求我提供主机名和域名。如何preseed它来禁用这样的提示?
preseed文件,并且无法回忆它是否需要主机名和域名。至少它没有给我带来麻烦。preseed样本文件,发现设置与我的相同。# 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如何预置主机名和域名以禁用它们的提示?
发布于 2022-12-19 16:11:18
我使用的是完全相同的预置,但发生在我身上的是,我没有提示,但是主机名被固定为'debian‘,这不是我想要的。
https://unix.stackexchange.com/questions/674647
复制相似问题