@bugroar I hadn't considered the SSD issue. I would imagine they are SSDs up in the cloud too so maybe that is the differentiator. I haven't installed it on a baremetal system with a spinning primary install disk in some time.
@hankg It basically does 'cat /sys/block/xxx/queue/rotational' and if the answer is "0" then it skips the swap. Cloud provider won't have the NAND wear problem but a virtual drive still gives a "0".