From 775a26f738002ad124200716b68f92ebc9e91a5c Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Mon, 8 Mar 2021 14:47:24 +0100 Subject: Added a abort message --- archinstall/lib/user_interaction.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'archinstall') diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py index e20e98b1..01e3372c 100644 --- a/archinstall/lib/user_interaction.py +++ b/archinstall/lib/user_interaction.py @@ -90,10 +90,11 @@ def ask_to_configure_network(): def ask_for_disk_layout(): options = { 'keep-existing' : 'Keep existing partition layout and select which ones to use where.', - 'format-all' : 'Format entire drive and setup a basic partition scheme.' + 'format-all' : 'Format entire drive and setup a basic partition scheme.', + 'abort' : 'abort' } - return generic_select(options.values(), "Found partitions on the selected drive, (select by number) what do you want to do: ") + return generic_select(options.values(), "Found partitions on the selected drive, (select by number) what you want to do: ") def generic_select(options, input_text="Select one of the above by index or absolute value: ", sort=True): """ -- cgit v1.2.3-54-g00ecf