index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-03-21 11:12:07 +0100 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-03-21 11:12:07 +0100 |
commit | a75002a36d2e98d5618d88ac372fb9b5ed3575bf (patch) | |
tree | 6e311b55cff2c1b8aa313441ac28c3835dcadf0e /examples | |
parent | 24964e4865c66f32a5c656b62f4cfdd47aaaaba2 (diff) |
-rw-r--r-- | examples/guided.py | 5 |
diff --git a/examples/guided.py b/examples/guided.py index e9edac09..b6aa5810 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -131,6 +131,11 @@ def ask_user_questions(): elif option == 'format-all': archinstall.arguments['filesystem'] = archinstall.ask_for_main_filesystem_format() archinstall.arguments['harddrive'].keep_partitions = False + else: + # If the drive doesn't have any partitions, safely mark the disk with keep_partitions = False + # and ask the user for a root filesystem. + archinstall.arguments['filesystem'] = archinstall.ask_for_main_filesystem_format() + archinstall.arguments['harddrive'].keep_partitions = False # Get disk encryption password (or skip if blank) if not archinstall.arguments.get('!encryption-password', None): |