summaryrefslogtreecommitdiff
path: root/roles/installer/debian/preseed/templates/preseed_ubuntu-focal.cfg.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-08-05 21:12:37 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-08-05 21:12:37 +0200
commit23cde6ba14f19009b933baec7a95d8bb1eda9e9f (patch)
treee41e97dad1ca5e103c25720ea54657e19d7f8683 /roles/installer/debian/preseed/templates/preseed_ubuntu-focal.cfg.j2
parentnextcloud upgrades (diff)
fix debian buster keyring, disable multi-arch on ubuntu
Diffstat (limited to 'roles/installer/debian/preseed/templates/preseed_ubuntu-focal.cfg.j2')
-rw-r--r--roles/installer/debian/preseed/templates/preseed_ubuntu-focal.cfg.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/installer/debian/preseed/templates/preseed_ubuntu-focal.cfg.j2 b/roles/installer/debian/preseed/templates/preseed_ubuntu-focal.cfg.j2
index 997617c1..20532934 100644
--- a/roles/installer/debian/preseed/templates/preseed_ubuntu-focal.cfg.j2
+++ b/roles/installer/debian/preseed/templates/preseed_ubuntu-focal.cfg.j2
@@ -59,6 +59,9 @@ d-i clock-setup/ntp boolean false
d-i base-installer/install-recommends boolean false
d-i apt-setup/security_host string {{ apt_repo_providers[hostvars[install_hostname].apt_repo_provider].ubuntu }}
+{% if hostvars[install_hostname].install_cooked.arch | default('amd64') == 'amd64' %}
+d-i apt-setup/multiarch string amd64
+{% endif %}
tasksel tasksel/first multiselect
d-i pkgsel/include string openssh-server {{ hostvars[install_hostname].python_basename }} {{ hostvars[install_hostname].python_basename }}-apt ifupdown