Fix: variable name change
This commit is contained in:
parent
28dab7b58b
commit
408f2aa873
@ -18,7 +18,7 @@ read hostname
|
|||||||
echo $hostname > /mnt/etc/hostname
|
echo $hostname > /mnt/etc/hostname
|
||||||
|
|
||||||
echo "~> Configuring 'grub' for $bootloader"
|
echo "~> Configuring 'grub' for $bootloader"
|
||||||
if [ "$bootloader" == "EFI" ]; then
|
if [ "$bootmethod" == "EFI" ]; then
|
||||||
arch-chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=BOOT
|
arch-chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=BOOT
|
||||||
# thanks to Virtualbox, this step is necessary
|
# thanks to Virtualbox, this step is necessary
|
||||||
cp /mnt/boot/EFI/BOOT/{grubx64.efi,BOOTX64.EFI}
|
cp /mnt/boot/EFI/BOOT/{grubx64.efi,BOOTX64.EFI}
|
||||||
|
Loading…
Reference in New Issue
Block a user