change hostname by parameter/variable dynamic

This commit is contained in:
Alexander Gabriel 2021-06-19 21:55:36 +01:00
parent 12ccd5437d
commit f3c00a59e2

View File

@ -71,7 +71,7 @@ d-i netcfg/get_domain string 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
# and adjust the following line.
d-i netcfg/hostname string {{ debianunattended_hostname }}
d-i netcfg/hostname string "{{ debianunattended_hostname | default('debianunattended') }}"
# Disable that annoying WEP key dialog.
d-i netcfg/wireless_wep string