add a comment

This commit is contained in:
Michael Hudson-Doyle 2020-04-17 10:08:09 +12:00
parent e036d5f722
commit 3ce8566143
1 changed files with 1 additions and 0 deletions

View File

@ -399,6 +399,7 @@ class FilesystemController(SubiquityController):
def create_filesystem(self, volume, spec):
if spec['fstype'] is None:
# prep partitions are always wiped (and never have a filesystem)
if getattr(volume, 'flag', None) != 'prep':
volume.wipe = None
fstype = volume.original_fstype()