diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-09-05 18:42:45 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-09-05 18:42:45 +0200 |
commit | d8cad6edea49880eb93f8376c2425dfce4ed6716 (patch) | |
tree | c91f0bc785ed015b9d8f6d9d7cfc768be762f9a6 /roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2 | |
parent | raspios/image/firstrun: trigger restart of dhcpd after network config (diff) |
ubuntu/installer: fix early command and focal support
Diffstat (limited to 'roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2')
-rw-r--r-- | roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2 b/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2 index 8bf62cd5..7add2640 100644 --- a/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2 +++ b/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2 @@ -238,7 +238,10 @@ 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-mark manual iputils-ping isc-dhcp-client netcat-openbsd netplan.io sudo - - curtin in-target --target=/target -- apt-get -y -q purge policykit-1 multipath-tools ubuntu-minimal unattended-upgrades sound-theme-freedesktop thin-provisioning-tools cryptsetup byobu open-iscsi btrfs-progs pollinate lxd-agent-loader open-vm-tools systemd-oomd + - curtin in-target --target=/target -- apt-get -y -q purge policykit-1 multipath-tools ubuntu-minimal unattended-upgrades sound-theme-freedesktop thin-provisioning-tools cryptsetup byobu open-iscsi btrfs-progs pollinate lxd-agent-loader open-vm-tools +{% if ubuntu_installer_codename != 'focal' %} + - curtin in-target --target=/target -- apt-get -y -q purge systemd-oomd +{% endif %} {% if install.disks.primary != "software-raid" %} - curtin in-target --target=/target -- apt-get -y -q purge mdadm {% endif %} |