Revision 3754e88d src/mad/sh/scripts_common.sh

View differences:

src/mad/sh/scripts_common.sh
250 250
            echo "$MKSWAP $DST"
251 251
            return 0
252 252
            ;;
253
        "vmdk_*")
254
            VMWARE_DISK_TYPE=`echo $FSTYPE|cut -d'_' -f 1`
253
        "vmdk_"*)
254
            VMWARE_DISK_TYPE=`echo $FSTYPE|cut -d'_' -f 2`
255 255
            echo "WHICH_SUDO=\$(which sudo) ; \
256 256
                  [ ! -z \"\$WHICH_SUDO\" -a -f \"\$WHICH_SUDO\" ] && SUDO=\"sudo\" ; \
257
                  $SUDO $VMKFSTOOLS -U $DST/disk.vmdk; \
258
                  $SUDO $VMKFSTOOLS -c ${SIZE}M -d ${VMWARE_DISK_TYPE} $DST_PATH/disk.vmdk"
257
                  \$SUDO $VMKFSTOOLS -U $DST/disk.vmdk; \
258
                  \$SUDO $VMKFSTOOLS -c ${SIZE}M -d ${VMWARE_DISK_TYPE} $DST/disk.vmdk"
259 259
            return 0
260 260
            ;;
261 261
        *)

Also available in: Unified diff