mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
Merge pull request #160 from atodorov-storpool/tmCephOnSharedFs
tm/ceph {pre,post}migrate do nothing if not SYSTEM DS
This commit is contained in:
commit
8d4cfaf16b
@ -53,6 +53,13 @@ fi
|
||||
|
||||
#--------------------------------------------------------------------------------
|
||||
|
||||
if [ -n "$7" ]; then
|
||||
log "Called from tm/$7 but I've nothing to do"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
#--------------------------------------------------------------------------------
|
||||
|
||||
migrate_other "$@"
|
||||
|
||||
exec_and_log "$SSH $SRC_HOST rm -rf $DST_PATH"
|
||||
|
@ -53,6 +53,13 @@ fi
|
||||
|
||||
#--------------------------------------------------------------------------------
|
||||
|
||||
if [ -n "$7" ]; then
|
||||
log "Called from tm/$7 but I've nothing to do"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
#--------------------------------------------------------------------------------
|
||||
|
||||
DST_PATH_DIRNAME=`dirname $DST_PATH`
|
||||
DST_PATH_BASENAME=`basename $DST_PATH`
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user