aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/provision
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/provision')
-rwxr-xr-xshare/hydractl/provision4
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