Skipping bootloader selection if --bootloader was given.

This commit is contained in:
Anton Hvornum 2021-06-10 15:30:58 +02:00
parent 0946b73095
commit 857b5c0c3e
1 changed files with 2 additions and 1 deletions

View File

@ -94,7 +94,8 @@ def ask_user_questions():
archinstall.storage['disk_layouts'] = archinstall.select_encrypted_partitions(archinstall.storage['disk_layouts'])
# Ask which boot-loader to use (will only ask if we're in BIOS (non-efi) mode)
archinstall.arguments["bootloader"] = archinstall.ask_for_bootloader()
if not archinstall.arguments.get("bootloader", None):
archinstall.arguments["bootloader"] = archinstall.ask_for_bootloader()
# Get the hostname for the machine