fix adding a partition to an existing raid
found this by mistake by accident when trying to test something else...
This commit is contained in:
parent
5d566aebe0
commit
3152e5ce13
|
@ -212,6 +212,8 @@ class FilesystemManipulator:
|
|||
if disk.type == "disk":
|
||||
disk.preserve = False
|
||||
disk.wipe = 'superblock-recursive'
|
||||
elif disk.type == "raid":
|
||||
disk.wipe = 'superblock-recursive'
|
||||
|
||||
needs_boot = self.model.needs_bootloader_partition()
|
||||
log.debug('model needs a bootloader partition? {}'.format(needs_boot))
|
||||
|
|
Loading…
Reference in New Issue