Fix Bug: config b0rked by Suggest partition layout
File: lib/user_interaction.py
When function manage_new_and_existing_partitions() is used, and
'Suggest partition layout' is selected, the partition info is not
correctly stored in the config.
Instead of: {"partitions": [{...}, {...}]}
You get: {"partitions": {"partitions": [{...}, {...}], "wipe":True}}
This commit is contained in:
parent
d2d80113b3
commit
ffbfafb354
|
|
@ -674,7 +674,7 @@ def manage_new_and_existing_partitions(block_device :BlockDevice) -> dict:
|
|||
if input(f"{block_device} contains queued partitions, this will remove those, are you sure? y/N: ").strip().lower() in ('', 'n'):
|
||||
continue
|
||||
|
||||
block_device_struct["partitions"] = suggest_single_disk_layout(block_device)[block_device]
|
||||
block_device_struct.update( suggest_single_disk_layout(block_device)[block_device] )
|
||||
elif task is None:
|
||||
return block_device_struct
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue