From 7f85df5af48652e7224c152a9075cb6c2ef173d2 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Wed, 9 May 2018 12:39:09 +0200 Subject: [dracut-initramfs-builder] added kexec-reboot module --- dracut-initramfs-builder/tasks/distro.yml | 2 ++ dracut-initramfs-builder/tasks/main.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dracut-initramfs-builder/tasks/distro.yml b/dracut-initramfs-builder/tasks/distro.yml index b2ff439..dd0f99f 100644 --- a/dracut-initramfs-builder/tasks/distro.yml +++ b/dracut-initramfs-builder/tasks/distro.yml @@ -12,6 +12,7 @@ - wget - systemd-networkd - systemd-resolved + - kexec-tools when: - ansible_distribution == "CentOS" - set_fact: @@ -24,5 +25,6 @@ - libjansson-dev - dmsetup - iputils-arping + - kexec-tools when: - ansible_distribution == "Ubuntu" diff --git a/dracut-initramfs-builder/tasks/main.yml b/dracut-initramfs-builder/tasks/main.yml index fbd18a4..fe64b37 100644 --- a/dracut-initramfs-builder/tasks/main.yml +++ b/dracut-initramfs-builder/tasks/main.yml @@ -14,7 +14,7 @@ - include: tasks/dnbd3-fixes.yml - name: Build initramfs with dracut - shell: "{{ gittarget }}/builder/build-initramfs.sh -s -d -p {{ gittarget }}/initramfs" + shell: "{{ gittarget }}/builder/build-initramfs.sh -s -d -p {{ gittarget }}/initramfs - --add 'kexec-reboot'" args: creates: "{{ gittarget }}/initramfs" -- cgit v1.2.3-55-g7522