From 5cbe262fda3dcaa015b9ca38665f89ddf7b9095c Mon Sep 17 00:00:00 2001 From: Tino Vazquez Date: Fri, 21 Sep 2012 16:09:13 +0200 Subject: [PATCH] =?UTF-8?q?feature=20=C2#1437:=20Reove=20iso=20before=20tr?= =?UTF-8?q?ying=20to=20upload?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tm_mad/vmfs/context | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tm_mad/vmfs/context b/src/tm_mad/vmfs/context index b506877953..96fef929ec 100755 --- a/src/tm_mad/vmfs/context +++ b/src/tm_mad/vmfs/context @@ -60,8 +60,7 @@ if [ "$USE_SSH" == "yes" ]; then ssh_make_path $DST_HOST $DST_DIR else vifs $VI_PARAMS --mkdir [$DS_ID]$VM_ID - exec_and_log "vifs $VI_PARAMS --mkdir [$DS_ID]$VM_ID/$DST_FOLDER" \ - "Cannot create [$DS_ID]$VM_ID/$DST_FOLDER on $DST_HOST" + vifs $VI_PARAMS --mkdir [$DS_ID]$VM_ID/$DST_FOLDER fi #------------------------------------------------------------------------------- @@ -91,6 +90,7 @@ if [ "$USE_SSH" == "yes" ]; then exec_and_log "$SCP $ISO_FILE $DST_PATH.iso" "Error copying context ISO to $DST" else # Copies the iso file with .iso suffix, needed for VMware CDROMs + vifs $VI_PARAMS -rm [$DS_ID]$VM_ID/$DST_FOLDER.iso exec_and_log "vifs $VI_PARAMS -p $ISO_FILE [$DS_ID]$VM_ID/$DST_FOLDER.iso" \ "Error copying context ISO to [$DS_ID]$VM_ID/$DST_FOLDER.iso in $DST_HOST" fi