looks good.
Regards,
Hans
David Lehman wrote:
---
storage/partitioning.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/storage/partitioning.py b/storage/partitioning.py
index e900d18..cf151d1 100644
--- a/storage/partitioning.py
+++ b/storage/partitioning.py
@@ -268,6 +268,10 @@ def clearPartitions(storage):
part.disk.name not in storage.clearPartDisks:
continue
+ # don't clear partitions holding install media
+ if part.name in storage.protectedPartitions:
+ continue
+
# we don't want to fool with extended partitions, freespace, &c
if part.partType not in (parted.PARTITION_NORMAL,
parted.PARTITION_LOGICAL):
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list