Skip to content

Commit

Permalink
Update initramfs_add_modules to include lvm module
Browse files Browse the repository at this point in the history
Testing discovered a scenario in which LVM is in use, but the `lvm`
module is not present in the initramfs image. This causes a failure
on the host during the reboot phase, since LVM will never get loaded.

The value for `initramfs_add_modules` has been updated to include the
`lvm` module explicitly.
  • Loading branch information
jchristianh committed Jan 5, 2024
1 parent b608d99 commit 8d63aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/shrink_lv/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

- name: Create the initramfs and reboot to run the module
vars:
initramfs_add_modules: "shrink_lv"
initramfs_add_modules: "shrink_lv lvm"
ansible.builtin.include_role:
name: initramfs

Expand Down

0 comments on commit 8d63aec

Please sign in to comment.