summaryrefslogtreecommitdiff
path: root/roles/vm/guest/install/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/vm/guest/install/tasks')
-rw-r--r--roles/vm/guest/install/tasks/installer-debian.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/roles/vm/guest/install/tasks/installer-debian.yml b/roles/vm/guest/install/tasks/installer-debian.yml
index 32662f8c..c89a1cdf 100644
--- a/roles/vm/guest/install/tasks/installer-debian.yml
+++ b/roles/vm/guest/install/tasks/installer-debian.yml
@@ -10,7 +10,7 @@
- name: generate host specific initial ramdisk
vars:
- preseed_orig_initrd: "{{ installer_base_path }}/{{ install_distro }}-{{ install_codename }}/{{ hostvars[install_hostname].install_cooked.arch | default('amd64') }}-netboot/initrd.gz"
+ preseed_orig_initrd: "{{ debian_installer_target_dir }}/initrd.gz"
preseed_tmpdir: "{{ tmpdir.path }}"
preseed_virtual_machine: yes
preseed_force_net_ifnames_policy: path
@@ -18,3 +18,9 @@
install_interface: enp1s1
import_role:
name: installer/debian/preseed
+
+- name: copy installer kernel image to temporary installer directory
+ copy:
+ remote_src: yes
+ src: "{{ debian_installer_target_dir }}/linux"
+ dest: "{{ tmpdir.path }}/linux