Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/guided.py3
1 files changed, 2 insertions, 1 deletions
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