diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-09-10 19:14:14 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-09-10 19:14:14 +0200 |
commit | 62f808def6fe5f082c685c696f62c794e23cf758 (patch) | |
tree | 2d5bcd634db600ae4eff3fc6e4e6024762e02023 /roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2 | |
parent | ch-sensors update docs (diff) |
ubuntu installer /swapfile vs /swap.img
Diffstat (limited to 'roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2')
-rw-r--r-- | roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2 b/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2 index 763a03cb..8b4538d5 100644 --- a/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2 +++ b/roles/installer/ubuntu/autoinstall/templates/autoinstall.yml.j2 @@ -233,7 +233,7 @@ autoinstall: {% endfor %} late-commands: - - curtin in-target --target=/target -- swapoff -a; sed -e '/^\/swapfile/d' -i /etc/fstab; rm -f /swapfile + - curtin in-target --target=/target -- swapoff -a; sed -e '/^\/swapfile/d' -e '/^\/swap\.img/d' -i /etc/fstab; rm -f /swapfile /swap.img {% if ansible_port is defined %} - curtin in-target --target=/target -- sed -e 's/^\(\s*#*\s*Port.*\)/Port {{ ansible_port }}/' -i /etc/ssh/sshd_config {% endif %} |