From c6756c659bd05902cf0bf35da0164350ee42edf7 Mon Sep 17 00:00:00 2001 From: Tino Vazquez Date: Wed, 19 Jun 2013 19:40:35 +0200 Subject: [PATCH] feature #2097: VMware context needs sym link --- src/tm_mad/common/context | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tm_mad/common/context b/src/tm_mad/common/context index dfcf5d1715..ea82c9def7 100755 --- a/src/tm_mad/common/context +++ b/src/tm_mad/common/context @@ -100,6 +100,9 @@ exec_and_set_error "$MKISOFS -o $ISO_FILE -J -R $ISO_DIR" \ exec_and_set_error "$SCP $ISO_FILE $DST" "Error copying context ISO to $DST" [ -n "$ERROR" ] && exit_error +# Creates symbolic link to add a .iso suffix, needed for VMware CDROMs +ssh_exec_and_log $DST_HOST "$LN -s $DST_PATH $DST_PATH.iso" "Error creating ISO symbolic link" + rm -rf $ISO_DIR > /dev/null 2>&1 exit 0