Could the Linux PVS Agent v2112 be updated accordingly? - Currently I am unable to create a golden image with pvs-imager on RHEL 8.4 hosts (using EFI and secure boot)
PS - I should note, that the imaging process still fails, irregardless of secure boot being disabled on the VM (even though the --force flag is used)
Question
Chris Gregson1709155862
Hi guys - Just thought I'd report an issue with the pvs-imager for RHEL 8 VDA's failing to create a master image.
The current python script (Volumes.py) uses grub2-install to presumably configure the bootloader for use with PVS. This now fails as per:-
CMD:pvs_tools.Volumes:grub2-install --debug --force --efi-directory=/tmp/Volumes.py-dd2snrj7/boot/efi --target=x86_64-efi--boot-directory=/tmp/Volumes.py-dd2snrj7/boot /dev/loop0
If you run this command independently outside of the script you'll receive:-
grub2-install: error: this utility cannot be used for EFI platforms because it does not support UEFI Secure Boot.
From some reading, it looks like using grub2-install is no longer supported for EFI based systems, and the alternative (sort of) is to use efibootmgr.
Reference https://bugzilla.redhat.com/show_bug.cgi?id=1917213&GoAheadAndLogIn=1
Could the Linux PVS Agent v2112 be updated accordingly? - Currently I am unable to create a golden image with pvs-imager on RHEL 8.4 hosts (using EFI and secure boot)
PS - I should note, that the imaging process still fails, irregardless of secure boot being disabled on the VM (even though the --force flag is used)
Kind Regards
Link to comment
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now