mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 11:22:55 +09:00
git-svn-id: http://svn.opennebula.org/one/trunk@294 3034c82b-c49b-4eb3-8279-a7acafdc01c0
19 lines
299 B
Bash
Executable File
19 lines
299 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SRC=$1
|
|
DST=$2
|
|
|
|
if [ -z "${ONE_LOCATION}" ]; then
|
|
TMCOMMON=/usr/lib/one/mads/tm_common.sh
|
|
else
|
|
TMCOMMON=$ONE_LOCATION/lib/mads/tm_common.sh
|
|
fi
|
|
|
|
. $TMCOMMON
|
|
|
|
SRC_PATH=`arg_path $SRC`
|
|
SRC_HOST=`arg_host $SRC`
|
|
|
|
log "Deleting $SRC_PATH"
|
|
exec_and_log "ssh $SRC_HOST rm -rf $SRC_PATH"
|