In guided install Non-UEFI installs need to use grub-install as its the only supported bootloader that doesn't require UEFI

This commit is contained in:
Malccolm Haak 2021-04-17 14:23:39 +10:00
parent 39e354f395
commit 80a3ca3826
1 changed files with 9 additions and 5 deletions

View File

@ -314,7 +314,11 @@ def perform_installation(device, boot_partition, language, mirrors):
if installation.minimal_installation(): if installation.minimal_installation():
installation.set_mirrors(mirrors) # Set the mirrors in the installation medium installation.set_mirrors(mirrors) # Set the mirrors in the installation medium
installation.set_keyboard_language(language) installation.set_keyboard_language(language)
installation.add_bootloader() if hasUEFI():
installation.add_bootloader()
else:
installation.add_bootloader(bootloder='grub-install')
# If user selected to copy the current ISO network configuration # If user selected to copy the current ISO network configuration
# Perform a copy of the config # Perform a copy of the config