Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-06-10 15:30:58 +0200
committerAnton Hvornum <anton@hvornum.se>2021-06-10 15:30:58 +0200
commit857b5c0c3e057f2063bd50dfc1da4cf0869ff2bc (patch)
tree6021a8450e9a131d490aa7495edb020178813920 /examples
parent0946b73095dffe343f3ee8f622a565b77a6e8871 (diff)
Skipping bootloader selection if --bootloader was given.
Diffstat (limited to 'examples')
-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