Added back the note about using /mnt as is
Also added a "experimental" warning to it.
This commit is contained in:
parent
47939ac582
commit
84dbbd0857
|
|
@ -320,10 +320,13 @@ def select_disk(dict_o_disks):
|
||||||
if len(drives) >= 1:
|
if len(drives) >= 1:
|
||||||
for index, drive in enumerate(drives):
|
for index, drive in enumerate(drives):
|
||||||
print(f"{index}: {drive} ({dict_o_disks[drive]['size'], dict_o_disks[drive].device, dict_o_disks[drive]['label']})")
|
print(f"{index}: {drive} ({dict_o_disks[drive]['size'], dict_o_disks[drive].device, dict_o_disks[drive]['label']})")
|
||||||
drive = generic_select(drives, 'Select one of the above disks (by number or full path) or leave blank to skip partitioning: ',
|
|
||||||
|
log(f"You can skip selecting a drive and partition it and use whatever drive-setup is mounted at /mnt (experimental)", fg="yellow")
|
||||||
|
drive = generic_select(drives, 'Select one of the above disks (by name or number) or leave blank to use /mnt: ',
|
||||||
options_output=False)
|
options_output=False)
|
||||||
if not drive:
|
if not drive:
|
||||||
return drive
|
return drive
|
||||||
|
|
||||||
drive = dict_o_disks[drive]
|
drive = dict_o_disks[drive]
|
||||||
return drive
|
return drive
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue