1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-24 21:34:01 +03:00

feature #2097: VMware context needs sym link

This commit is contained in:
Tino Vazquez 2013-06-19 19:40:35 +02:00 committed by Ruben S. Montero
parent dffc1d46dc
commit c6756c659b

View File

@ -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