diff options
author | Jonathan Bauer | 2018-05-09 12:39:09 +0200 |
---|---|---|
committer | Jonathan Bauer | 2018-05-09 12:39:09 +0200 |
commit | 7f85df5af48652e7224c152a9075cb6c2ef173d2 (patch) | |
tree | e2205bb3f17e6d20d368b4017b7d228e854fe193 | |
parent | use git.openslx.org for installer branch (diff) | |
download | ansible-dracut-7f85df5af48652e7224c152a9075cb6c2ef173d2.tar.gz ansible-dracut-7f85df5af48652e7224c152a9075cb6c2ef173d2.tar.xz ansible-dracut-7f85df5af48652e7224c152a9075cb6c2ef173d2.zip |
[dracut-initramfs-builder] added kexec-reboot module
-rw-r--r-- | dracut-initramfs-builder/tasks/distro.yml | 2 | ||||
-rw-r--r-- | dracut-initramfs-builder/tasks/main.yml | 2 |
2 files changed, 3 insertions, 1 deletions
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" |