From 65113f0dfc7e742dd7e27fa651c1cf0527c3d7a9 Mon Sep 17 00:00:00 2001 From: Tino Vazquez Date: Thu, 13 Sep 2012 14:13:16 +0200 Subject: [PATCH] feature #1437: Get rid of bogus log line --- src/datastore_mad/remotes/vmfs/mkfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/datastore_mad/remotes/vmfs/mkfs b/src/datastore_mad/remotes/vmfs/mkfs index 1daf2648ca..35c65e92d7 100755 --- a/src/datastore_mad/remotes/vmfs/mkfs +++ b/src/datastore_mad/remotes/vmfs/mkfs @@ -98,11 +98,11 @@ if [ "$SSH" == "yes" ]; then ssh_exec_and_log $DST_HOST "$VMKFSTOOLS -c ${SIZE}M -d ${VMWARE_DISK_TYPE} [$IMAGE_DS_ID]$DST_FOLDER/disk.vmdk" \ "Cannot create [$IMAGE_DS_ID] $DST_FOLDER/disk.vmdk on $DST_HOST" else - exec_and_log "$VMKFSTOOLS $VI_PARAMS -U [$IMAGE_DS_ID]$DST_FOLDER/disk.vmdk" + $VMKFSTOOLS $VI_PARAMS -U [$IMAGE_DS_ID]$DST_FOLDER/disk.vmdk &> /dev/null exec_and_log "vifs $VI_PARAMS --mkdir [$IMAGE_DS_ID]$DST_FOLDER" \ "Cannot create [$IMAGE_DS_ID] $DST_FOLDER on $DST_HOST" exec_and_log "$VMKFSTOOLS $VI_PARAMS -c ${SIZE}M -d ${VMWARE_DISK_TYPE} [$IMAGE_DS_ID]$DST_FOLDER/disk.vmdk" \ "Cannot create $IMAGE_DS_ID]$DST_FOLDER/disk.vmdk on $DST_HOST" fi -echo "$DST" +echo "/vmfs/volumes/$IMAGE_DS_ID/$DST_FOLDER/disk.vmdk"