Possible bug in ceph's mkimage script

It looks like ceph’s ‘mkimage’ script lost the ‘mkswap’ command on/about line 163
You can create a swap disk. But because the disk isn’t labeled as swap,
contextualization never mounts it as swap.
There used to be 3 lines. Line 2 seems to be missing missing

  1. uses rbd to create a raw disk
  2. use mkswap to label disk ( e.g. /usr/sbin/mkswap “${DST_PATH}” )
  3. convert raw disk to ceph