summaryrefslogtreecommitdiff
path: root/roles/installer/debian/preseed/templates/preseed_debian-bookworm.cfg.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/installer/debian/preseed/templates/preseed_debian-bookworm.cfg.j2')
-rw-r--r--roles/installer/debian/preseed/templates/preseed_debian-bookworm.cfg.j28
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/installer/debian/preseed/templates/preseed_debian-bookworm.cfg.j2 b/roles/installer/debian/preseed/templates/preseed_debian-bookworm.cfg.j2
index f96231b0..3e86b048 100644
--- a/roles/installer/debian/preseed/templates/preseed_debian-bookworm.cfg.j2
+++ b/roles/installer/debian/preseed/templates/preseed_debian-bookworm.cfg.j2
@@ -23,15 +23,15 @@ d-i netcfg/disable_dhcp boolean true
d-i netcfg/disable_autoconfig boolean true
d-i netcfg/get_ipaddress string {{ network.primary.address | ansible.utils.ipaddr('address') }}
d-i netcfg/get_netmask string {{ network.primary.address | ansible.utils.ipaddr('netmask') }}
-d-i netcfg/get_gateway string {{ network.primary.gateway | default('') }}
-d-i netcfg/get_nameservers string {{ network.nameservers | default([]) | join(' ') }}
+d-i netcfg/get_gateway string {{ network.primary.gateway }}
+d-i netcfg/get_nameservers string {{ network.nameservers | join(' ') }}
d-i netcfg/confirm_static boolean true
{% endif %}
d-i netcfg/hostname string {{ host_name }}
d-i netcfg/get_hostname string {{ host_name }}
-d-i netcfg/domain string {{ network.domain | default('') }}
-d-i netcfg/get_domain string {{ network.domain | default('') }}
+d-i netcfg/domain string {{ network.domain }}
+d-i netcfg/get_domain string {{ network.domain }}
d-i netcfg/wireless_wep string