setup-disk: fix partitioning failure when overwriting existing identical installation

Closed UniqueActive requested to merge (removed):master into master

Closes #10506 (closed). Previously, setup-disk could fail when installing over an existing identical partition table. The additions ensure that the existing disklabel and partitions are properly wiped.

Signed-off-by: Edin Taric unicorn@regrow.earth

Merge request reports