Added some debugging.
This commit is contained in:
parent
30467ca50f
commit
2fe8a173f4
|
|
@ -94,7 +94,6 @@ if archinstall.arguments.get('harddrive', None):
|
|||
archinstall.arguments['harddrive'] = archinstall.BlockDevice(archinstall.arguments['harddrive'])
|
||||
else:
|
||||
archinstall.arguments['harddrive'] = archinstall.select_disk(archinstall.all_disks())
|
||||
print(type(archinstall.arguments['harddrive']), archinstall.arguments['harddrive'])
|
||||
|
||||
# Perform a quick sanity check on the selected harddrive.
|
||||
# 1. Check if it has partitions
|
||||
|
|
@ -168,6 +167,8 @@ if archinstall.arguments['harddrive'].has_partitions():
|
|||
elif option == 'format-all':
|
||||
archinstall.arguments['harddrive'].keep_partitions = False
|
||||
|
||||
print(type(archinstall.arguments['harddrive']), archinstall.arguments['harddrive'])
|
||||
|
||||
# Get disk encryption password (or skip if blank)
|
||||
if not archinstall.arguments.get('!encryption-password', None):
|
||||
archinstall.arguments['!encryption-password'] = archinstall.get_password(prompt='Enter disk encryption password (leave blank for no encryption): ')
|
||||
|
|
|
|||
Loading…
Reference in New Issue