summaryrefslogtreecommitdiff
path: root/roles/installer/debian/preseed/tasks
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-07-03 02:01:24 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-07-03 02:01:24 +0200
commit786d31170abb926496e2a8964157e474c2b32b2d (patch)
tree7aa6c6577e6bd582221909dc85c2bc364ff49ae4 /roles/installer/debian/preseed/tasks
parentfix bar-variable warning (diff)
parentuse new preseed config in some hosts (diff)
Merge branch 'topic/preseed-configurable-disk-layout'
Diffstat (limited to 'roles/installer/debian/preseed/tasks')
-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/