summaryrefslogtreecommitdiff
path: root/roles/installer/ubuntu/autoinstall/templates
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-07-30 18:55:11 +0200
committerChristian Pointner <equinox@spreadspace.org>2023-07-30 18:55:11 +0200
commit5fefcb795d220be8703fe2a56ff92d30aa0ce079 (patch)
treeb1b1f266114c1fc6c2839a1a68c3208442e3c27c /roles/installer/ubuntu/autoinstall/templates
parentch-equinox-ws: re-install on ubuntu jammy (diff)
some workarounds and fixes for equinox-ws install to work
Diffstat (limited to 'roles/installer/ubuntu/autoinstall/templates')
-rw-r--r--roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j25
1 files changed, 2 insertions, 3 deletions
diff --git a/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2 b/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2
index 98d6699b..93b952b6 100644
--- a/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2
+++ b/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2
@@ -203,7 +203,8 @@ autoinstall:
apt:
primary:
- uri: http://{{ apt_repo_providers[apt_repo_provider].ubuntu.host }}{{ apt_repo_providers[apt_repo_provider].ubuntu.path }}
- arches: {{ ubuntu_autoinstall_apt_arches | to_json}}
+ arches:
+ - amd64
user-data:
hostname: "{{ host_name }}"
@@ -249,9 +250,7 @@ autoinstall:
- curtin in-target --target=/target -- sed -e 's/^\(\s*#*\s*Port.*\)/Port {{ ansible_port }}/' -i /etc/ssh/sshd_config
{% endif %}
- curtin in-target --target=/target -- apt-get -y -q purge multipath-tools open-vm-tools
-{% if ubuntu_installer_codename != 'focal' %}
- curtin in-target --target=/target -- apt-get -y -q purge systemd-oomd
-{% endif %}
{% if ubuntu_autoinstall_desktop is undefined %}
- curtin in-target --target=/target -- apt-mark manual iputils-ping isc-dhcp-client netcat-openbsd netplan.io sudo
- curtin in-target --target=/target -- apt-get -y -q purge policykit-1 ubuntu-minimal unattended-upgrades sound-theme-freedesktop thin-provisioning-tools cryptsetup byobu open-iscsi btrfs-progs pollinate lxd-agent-loader