--- storage/partitioning.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/storage/partitioning.py b/storage/partitioning.py index 5d176c4..97abf83 100644 --- a/storage/partitioning.py +++ b/storage/partitioning.py @@ -776,8 +776,9 @@ def doPartitioning(storage, exclusiveDisks=None): bootDev.req_bootable = True # turn off cylinder alignment - if parted.isAlignToCylinders(): - parted.toggleAlignToCylinders() + for partedDisk in [d.format.partedDisk for d in disks]: + if partedDisk.isFlagAvailable(parted.DISK_CYLINDER_ALIGNMENT): + partedDisk.unsetFlag(parted.DISK_CYLINDER_ALIGNMENT) removeNewPartitions(disks, partitions) free = getFreeRegions(disks) -- 1.6.5.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list