diff --git a/src/datastore_mad/remotes/vmware/mkfs b/src/datastore_mad/remotes/vmware/mkfs index 9b31586d49..6f7a138455 100755 --- a/src/datastore_mad/remotes/vmware/mkfs +++ b/src/datastore_mad/remotes/vmware/mkfs @@ -78,14 +78,10 @@ DISK_TMP=$DISK.tmp IMAGE_FORMAT=vmdk -MKFS_CMD=`mkfs_command $DISK_TMP $FSTYPE` - exec_and_log "mkdir -p $DST" \ "Could not create disk directory $DST" exec_and_log "$DD if=/dev/zero of=$DISK_TMP bs=1 count=1 seek=${SIZE}M" \ "Could not create temporary image $DISK_TMP" -exec_and_log "$MKFS_CMD" \ - "Unable to create filesystem $FSTYPE in $DISK_TMP" exec_and_log "$QEMU_IMG convert -O $IMAGE_FORMAT $DISK_TMP $DISK" \ "Unable to convert to $IMAGE_FORMAT in $DISK_TMP" exec_and_log "rm -f $DISK_TMP" \