From d6fcf6fd51c74a7883cda20078a2e3b70ef261cb Mon Sep 17 00:00:00 2001 From: awokd <34515595+awokd@users.noreply.github.com> Date: Fri, 23 Feb 2018 10:04:56 +0000 Subject: [PATCH] make dracut generic and add -H --- common-tasks/software-update-dom0.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common-tasks/software-update-dom0.md b/common-tasks/software-update-dom0.md index 85974a4d..6afee0c1 100644 --- a/common-tasks/software-update-dom0.md +++ b/common-tasks/software-update-dom0.md @@ -128,9 +128,9 @@ If the update process does not automatically do it (you should see it mentioned from the update command), you may need to manually rebuild the EFI or grub config depending on which your system uses. -EFI (Replace the file names with the correct versions for your updated kernel) +EFI ~~~ -sudo /usr/bin/dracut -f /boot/efi/EFI/qubes/initramfs-4.4.31-11.pvops.qubes.x86_64.img 4.4.31-11.pvops.qubes.x86_64 +sudo dracut -H -f /boot/efi/EFI/qubes/initramfs-$(uname -r).img $(uname -r) ~~~ Grub2