Missing .format() on 'use entire disk' step

This commit is contained in:
Anton Hvornum 2021-07-03 14:00:03 +02:00
parent 20e759d4cc
commit e965eaf546
1 changed files with 8 additions and 7 deletions

View File

@ -810,6 +810,7 @@ class Filesystem:
if not partition.get('filesystem'): if not partition.get('filesystem'):
partition['filesystem'] = {} partition['filesystem'] = {}
if not partition['filesystem'].get('format', False):
while True: while True:
partition['filesystem']['format'] = input(f"Enter a valid fs-type for newly encrypted partition {partition['filesystem']['format']}: ").strip() partition['filesystem']['format'] = input(f"Enter a valid fs-type for newly encrypted partition {partition['filesystem']['format']}: ").strip()
if not partition['filesystem']['format'] or valid_fs_type(partition['filesystem']['format']) is False: if not partition['filesystem']['format'] or valid_fs_type(partition['filesystem']['format']) is False: