diff --git a/changelogs/fragments/wrong-kernel.yml b/changelogs/fragments/wrong-kernel.yml new file mode 100644 index 0000000..583d2be --- /dev/null +++ b/changelogs/fragments/wrong-kernel.yml @@ -0,0 +1,2 @@ +bugfixes: + - Wrong kernel version booting after rolling back diff --git a/roles/lvm_snapshots/tasks/create.yml b/roles/lvm_snapshots/tasks/create.yml index ba37d11..224d45e 100644 --- a/roles/lvm_snapshots/tasks/create.yml +++ b/roles/lvm_snapshots/tasks/create.yml @@ -44,7 +44,10 @@ - "/boot/System.map-{{ ansible_kernel }}" - "/boot/symvers-{{ ansible_kernel }}.gz" - "/boot/config-{{ ansible_kernel }}" + - "/boot/.vmlinuz-{{ ansible_kernel }}.hmac" - /boot/grub/grub.conf - /boot/grub2/grub.cfg + - /boot/grub2/grubenv + - /boot/loader/entries - /boot/efi/EFI/redhat/grub.cfg when: lvm_snapshots_boot_backup