You've already forked debian-unattended
Make domain configurable with default and interactive prompt
- Replace hardcoded domain in template.cfg with DOMAIN_NAME placeholder - Add DEFAULT_DOMAIN constant and prompt in unattended.sh - Support DOMAIN_NAME env var with fallback to default/interactive input - Apply DOMAIN_NAME substitution to preseed.cfg
This commit is contained in:
@@ -67,7 +67,7 @@ d-i netcfg/dhcpv6_timeout string 1
|
||||
# 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 debian
|
||||
d-i netcfg/get_domain string home.bjphoster.cloud
|
||||
d-i netcfg/get_domain string DOMAIN_NAME
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user