support dns_domain

This commit is contained in:
Alexander Gabriel 2022-07-21 23:10:50 +02:00
parent 7611c8db8b
commit fa95ba5e60

View File

@ -68,7 +68,7 @@ d-i netcfg/choose_interface select auto
# 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 {{ inventory_hostname }}
d-i netcfg/get_domain string unassigned-domain
d-i netcfg/get_domain string {{ dns_domain | default('unassigned-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