ceph-mkimage.patch

Jan "Yenya" Kasprzak, 10/13/2016 03:38 PM

Download (412 Bytes)

View differences:

var/lib/one/remotes/tm/ceph/mkimage 2016-10-13 17:33:36.434914020 +0200
101 101

  
102 102
    if [ "$FSTYPE" = "swap" ]; then
103 103
        $SUDO $RBD map $RBD_SOURCE || exit \$?
104
        $SUDO $MKSWAP -L swap $DST
104
        $SUDO $MKSWAP -L swap /dev/rbd/$RBD_SOURCE
105 105
        $SUDO $RBD unmap /dev/rbd/$RBD_SOURCE
106 106
    fi
107 107
EOF