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 373f0a41..2934ca1b 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 partmam early-command script
+ 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/