summaryrefslogtreecommitdiff
path: root/roles/installer/debian/preseed/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/installer/debian/preseed/tasks/main.yml')
-rw-r--r--roles/installer/debian/preseed/tasks/main.yml7
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/