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:
parent
10930165bf
commit
967b6518b8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user