Merge pull request #238 from ChrisTitusTech/test

efi server fix
This commit is contained in:
Chris Titus 2022-02-25 10:02:38 -06:00 committed by GitHub
commit 8fb6610ee9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 "
-------------------------------------------------------------------------