Thanks for the additional information.
We have at least two scenarios:
a) keep raid array and partition table as-is {preserve: true, wipe: None} b) keep raid array and wipe partition table {preserve: true, wipe: superblock}
That looks like we could update disk_handler to run the preserve path if preserve: true and wipe is None (unset).
We could also extend this wipe check only to composable types (ie, we could check type:XXX in disk_handler and only check preserve if type is disk).
I think the latter works better (ignoring preserve setting if info's type doesn't match the handler).
Thoughts?
Thanks for the additional information.
We have at least two scenarios:
a) keep raid array and partition table as-is {preserve: true, wipe: None}
b) keep raid array and wipe partition table {preserve: true, wipe: superblock}
That looks like we could update disk_handler to run the preserve path if preserve: true and wipe is None (unset).
We could also extend this wipe check only to composable types (ie, we could check type:XXX in disk_handler and only check preserve if type is disk).
I think the latter works better (ignoring preserve setting if info's type doesn't match the handler).
Thoughts?