change hostname by parameter/variable dynamic

This commit is contained in:
DigitalInfinity committed 2021-06-19 21:55:36 +01:00
1 parent 12ccd5437d
commit f3c00a59e2
1 file changed
+1 -1
+1 -1
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