diff options
-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 |