summaryrefslogtreecommitdiff
path: root/roles/installer/debian/preseed/tasks
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-07-20 22:51:24 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-07-20 22:51:24 +0200
commita367366bfe3397b52b1fa286be8877cd23d2b657 (patch)
tree92947ad5096a378a10cb0347a4d04f5504d7f4a2 /roles/installer/debian/preseed/tasks
parentmake debian installer fetch more generic (diff)
simpler pressed initrd handling
Diffstat (limited to 'roles/installer/debian/preseed/tasks')
-rw-r--r--roles/installer/debian/preseed/tasks/main.yml8
1 files changed, 1 insertions, 7 deletions
diff --git a/roles/installer/debian/preseed/tasks/main.yml b/roles/installer/debian/preseed/tasks/main.yml
index 49d08c8b..3c45001f 100644
--- a/roles/installer/debian/preseed/tasks/main.yml
+++ b/roles/installer/debian/preseed/tasks/main.yml
@@ -1,10 +1,4 @@
---
-- name: Copy initramfs into position
- copy:
- remote_src: yes
- src: "{{ preseed_orig_initrd }}"
- dest: "{{ preseed_tmpdir }}/initrd.{{ install_hostname }}.gz"
-
- name: Generate preseed file
template:
src: "preseed_{{ hostvars[install_hostname].preseed_template_name | default(install_distro + '-' + install_codename) }}.cfg.j2"
@@ -42,7 +36,7 @@
NamePolicy={{ preseed_force_net_ifnames_policy }}
- name: Inject files into initramfs
- shell: cpio -H newc -o | gzip -9 >> 'initrd.{{ install_hostname }}.gz'
+ shell: cpio -H newc -o | gzip -9 >> '{{ preseed_initrd }}'
args:
chdir: "{{ preseed_tmpdir }}"
stdin: |