summaryrefslogtreecommitdiff
path: root/roles/installer/debian/preseed/templates/preseed_debian-stretch.cfg.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/installer/debian/preseed/templates/preseed_debian-stretch.cfg.j2')
-rw-r--r--roles/installer/debian/preseed/templates/preseed_debian-stretch.cfg.j26
1 files changed, 5 insertions, 1 deletions
diff --git a/roles/installer/debian/preseed/templates/preseed_debian-stretch.cfg.j2 b/roles/installer/debian/preseed/templates/preseed_debian-stretch.cfg.j2
index e9782453..0528f33c 100644
--- a/roles/installer/debian/preseed/templates/preseed_debian-stretch.cfg.j2
+++ b/roles/installer/debian/preseed/templates/preseed_debian-stretch.cfg.j2
@@ -49,11 +49,15 @@ d-i clock-setup/ntp boolean false
{% include 'partman_config.j2' %}
+{% if preseed_kernel_image is defined %}
+d-i base-installer/kernel/image string {{ preseed_kernel_image }}
+{% endif %}
+
d-i base-installer/install-recommends boolean false
d-i apt-setup/security_host string {{ apt_repo_providers[hostvars[install_hostname].apt_repo_provider].debian_security.host }}
d-i apt-setup/security_path string {{ apt_repo_providers[hostvars[install_hostname].apt_repo_provider].debian_security.path }}
-tasksel tasksel/first multiselect
+tasksel tasksel/first multiselect {{ preseed_install_tasks | join(', ') }}
d-i pkgsel/include string openssh-server {{ hostvars[install_hostname].python_basename }} {{ hostvars[install_hostname].python_basename }}-apt
d-i pkgsel/upgrade select safe-upgrade
popularity-contest popularity-contest/participate boolean false