But why do you repartition it?
Doesn't putting the exact same partition table on a device that already has a partition table result in no actual changes?
Doesn't putting the exact same partition table on a device that already has a partition table result in no actual changes?
We have one kickstart file that we use regardless of medium type. For SSDs, we overprovision and leave unused space at the end. Some brands of SSDs were failing before we did that. We don't need to overprovision hard drives.
You could remove the repartitioning and it would do the right thing for your use case.