summaryrefslogtreecommitdiff
path: root/roles/installer/debian
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-08-06 01:52:00 +0200
committerChristian Pointner <equinox@spreadspace.org>2023-08-06 01:52:00 +0200
commit2102be811b923fcf0162d26b4e201e9eb719bc21 (patch)
tree5d5db703346a7ee82aeb48d869f1a5ddb9693f57 /roles/installer/debian
parentch-equinox-*: install helvum (diff)
debian/bookworm: don't install microcode updates for VMs
Diffstat (limited to 'roles/installer/debian')
-rw-r--r--roles/installer/debian/preseed/templates/preseed_debian-bookworm.cfg.j26
1 files changed, 6 insertions, 0 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 96c23d86..6b8e70f9 100644
--- a/roles/installer/debian/preseed/templates/preseed_debian-bookworm.cfg.j2
+++ b/roles/installer/debian/preseed/templates/preseed_debian-bookworm.cfg.j2
@@ -69,6 +69,12 @@ d-i pkgsel/include string openssh-server {{ python_basename }} {{ python_basenam
d-i pkgsel/upgrade select safe-upgrade
popularity-contest popularity-contest/participate boolean false
+{% if debian_preseed_virtual_machine %}
+{# Actually we just don't want/need microcode updates on virtual machines. #}
+{# However there is no seperate switch for that and we likely don't need any firmwares on a VM. #}
+d-i hw-detect/firmware-lookup string never
+
+{% endif %}
d-i finish-install/reboot_in_progress note
{% if debian_preseed_poweroff_when_done %}
d-i debian-installer/exit/poweroff boolean true