M #~: Add missing files to install.sh (#4196)

This commit is contained in:
Jan Orel authored and GitHub committed 2020-02-21 16:11:23 +01:00
1 parent 5f1e0ce0ff
commit 8077c0904b
2 files changed
+7

No files matched your search

+2
View File
@@ -1272,6 +1272,7 @@ TM_FILES="src/tm_mad/tm_common.sh"
TM_SHARED_FILES="src/tm_mad/shared/clone \
src/tm_mad/shared/delete \
src/tm_mad/shared/ln \
src/tm_mad/shared/ln.ssh \
src/tm_mad/shared/mkswap \
src/tm_mad/shared/mkimage \
src/tm_mad/shared/mv \
@@ -1280,6 +1281,7 @@ TM_SHARED_FILES="src/tm_mad/shared/clone \
src/tm_mad/shared/postmigrate \
src/tm_mad/shared/failmigrate \
src/tm_mad/shared/mvds \
src/tm_mad/shared/mvds.ssh \
src/tm_mad/shared/snap_create \
src/tm_mad/shared/snap_create_live \
src/tm_mad/shared/snap_delete \
+5
View File
@@ -53,6 +53,11 @@ DST_PATH="$(arg_path $DST)"
log "Moving $SRC to datastore as $DST"
# if symlink, nothing to do
if [[ -L $SRC ]]; then
exit 0
fi
ssh_exec_and_log "${SRC_HOST}" \
"cp -r ${SRC_PATH} ${DST_PATH}" \
"Error copying ${SRC} to ${DST}" >&2