fix prep edge case

This commit is contained in:
Michael Hudson-Doyle 2020-04-16 23:24:12 +12:00
parent bec88aaa11
commit e036d5f722
1 changed files with 2 additions and 1 deletions

View File

@ -399,6 +399,7 @@ class FilesystemController(SubiquityController):
def create_filesystem(self, volume, spec):
if spec['fstype'] is None:
if getattr(volume, 'flag', None) != 'prep':
volume.wipe = None
fstype = volume.original_fstype()
if fstype is None: