diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-06-28 22:45:16 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-07-01 11:37:40 +0200 |
commit | 21b68833f431ca3569a5cbc41564bef2f2f32761 (patch) | |
tree | bcdbcf1f4aa6c1d2a4024c5bd0c1141af75b45fb /roles/installer/debian/preseed/tasks/main.yml | |
parent | increase timeout for cloud install (diff) |
another attempt to fix the partman recipe
Diffstat (limited to 'roles/installer/debian/preseed/tasks/main.yml')
-rw-r--r-- | roles/installer/debian/preseed/tasks/main.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/installer/debian/preseed/tasks/main.yml b/roles/installer/debian/preseed/tasks/main.yml index 46d6a1d9..53e9d225 100644 --- a/roles/installer/debian/preseed/tasks/main.yml +++ b/roles/installer/debian/preseed/tasks/main.yml @@ -10,6 +10,12 @@ src: "preseed_{{ hostvars[install_hostname].preseed_template_name | default(install_distro + '-' + install_codename) }}.cfg.j2" dest: "{{ preseed_tmpdir }}/preseed.cfg" +- name: Generate partman early-command + template: + src: "partman_early-command.sh.j2" + dest: "{{ preseed_tmpdir }}/partman_early-command.sh" + mode: 0755 + - name: Generate authorized_keys file authorized_key: user: root @@ -41,6 +47,7 @@ chdir: "{{ preseed_tmpdir }}" stdin: | preseed.cfg + partman_early-command.sh authorized_keys etc/ etc/systemd/ |