From 857b5c0c3e057f2063bd50dfc1da4cf0869ff2bc Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Thu, 10 Jun 2021 15:30:58 +0200 Subject: Skipping bootloader selection if --bootloader was given. --- examples/guided.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/guided.py b/examples/guided.py index 2eb5fede..f477a738 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -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 -- cgit v1.2.3-54-g00ecf