efi server fix

Fixed UEFI installs for server install
This commit is contained in:
Chris Titus 2022-02-25 09:55:01 -06:00
parent 472ce0614d
commit 7aff03901b
1 changed files with 2 additions and 0 deletions

View File

@ -162,6 +162,8 @@ echo -ne "
"
if [[ ! -d "/sys/firmware/efi" ]]; then
grub-install --boot-directory=/mnt/boot ${DISK}
else
pacstrap /mnt efibootmgr --noconfirm --needed
fi
echo -ne "
-------------------------------------------------------------------------