Bug #1911: VMware and VMFS datastores only accept raw type (it will ignore others)

This commit is contained in:
Tino Vazquez committed 2013-04-26 18:51:31 +02:00
1 parent 7a371e05c7
commit 7150eb4c4c
1 file changed
-4
-4
View File
@@ -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" \