diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2022-01-25 16:07:32 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2022-01-25 16:07:32 -0300 |
commit | 43c95d9908cd44b6e5a59ce3523e59c7f88b65c3 (patch) | |
tree | 8eb15cb3921abf57e741f3ccc60ddfb4a307f9c2 /share | |
parent | 9348f46a08d917b0a6b734263e2c77a230403aeb (diff) | |
download | hydra-43c95d9908cd44b6e5a59ce3523e59c7f88b65c3.tar.gz hydra-43c95d9908cd44b6e5a59ce3523e59c7f88b65c3.tar.bz2 |
Feat: provision: UEFI: set bootloader-id
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydractl/provision | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision index 5570b61..02aa4d0 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -719,9 +719,11 @@ EOF if [ "$boot_mode" == "bios" ]; then hydra_sudo_run chroot $WORK/ grub-install --recheck --force $device else + grub_opts"$grub_uefi_nvram $grub_uefi_secure_boot --bootloader-id=GRUB" + hydra_sudo_run chroot $WORK/ grub-install --target=${grub_arch}-efi \ --efi-directory=/boot/efi \ - $grub_uefi_nvram $grub_uefi_secure_boot + $grub_opts fi fi |