index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-06-06 16:19:53 +0200 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-06-06 16:19:53 +0200 |
commit | ce4b1fbcff00a3029de06f4b20e60dcaa9e3af93 (patch) | |
tree | 681e9345e07607c9609cf9fe1ea88d7bc94f4d10 /examples/guided.py | |
parent | f9774af2cc4dc113293664d44de1a7598348326e (diff) |
-rw-r--r-- | examples/guided.py | 9 |
diff --git a/examples/guided.py b/examples/guided.py index f48b5d0a..0bcc1fcc 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -75,15 +75,14 @@ def ask_user_questions(): if archinstall.arguments.get('harddrives', None): archinstall.arguments['harddrives'] = [archinstall.BlockDevice(BlockDev) for BlockDev in archinstall.arguments['harddrives']] else: - archinstall.arguments['harddrives'] = [ - archinstall.BlockDevice(BlockDev) for BlockDev in archinstall.generic_multi_select(archinstall.all_disks(), - text="Select one or more harddrives to use and configure (leave blank to skip this step): ", - allow_empty=True) - ] + archinstall.arguments['harddrives'] = archinstall.generic_multi_select(archinstall.all_disks(), + text="Select one or more harddrives to use and configure (leave blank to skip this step): ", + allow_empty=True) if archinstall.arguments.get('harddrives', None): archinstall.storage['disk_layouts'] = archinstall.select_disk_layout(archinstall.arguments['harddrives']) + exit(0) # Get disk encryption password (or skip if blank) if archinstall.arguments['harddrives'] and archinstall.arguments.get('!encryption-password', None) is None: |