1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

feature #1437: Get cp to copy contents of the VMDK disk folder, not the folder itself

This commit is contained in:
Tino Vazquez 2012-09-14 18:11:48 +02:00
parent 10930165bf
commit 967b6518b8

View File

@ -142,7 +142,7 @@ fi
# Make the final hop, front-end -> VMFS Datastore
if [ "$USE_SSH" == "yes" ]; then
exec_and_log "$SCP -r $SRC $DST_HOST:$DST" "Error copying $SRC to $DST through SCP"
exec_and_log "$SCP -r $SRC/* $DST_HOST:$DST" "Error copying $SRC to $DST through SCP"
else
cd $SRC
for file in $(find . -type f); do