diff --git a/src/tm_mad/vmware-ssh/tm_clone.sh b/src/tm_mad/vmware-ssh/tm_clone.sh deleted file mode 100755 index 29b0e8295c..0000000000 --- a/src/tm_mad/vmware-ssh/tm_clone.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash - -# ---------------------------------------------------------------------------- # -# Copyright 2010-2011, C12G Labs S.L # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); you may # -# not use this file except in compliance with the License. You may obtain # -# a copy of the License at # -# # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# Unless required by applicable law or agreed to in writing, software # -# distributed under the License is distributed on an "AS IS" BASIS, # -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # -# See the License for the specific language governing permissions and # -# limitations under the License. # -# ---------------------------------------------------------------------------- # - -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 - -DST_PATH=`arg_path $DST` -DST_HOST=`arg_host $DST` - -log "$1 $2" -log "DST_HOST: $DST_HOST" -log "DST_PATH: $DST_PATH" - -log "Creating directory $DST_PATH" -exec_and_log "$SSH $DST_HOST mkdir -p $DST_PATH" - -case $SRC in -http://*) - log "Downloading $SRC" - exec_and_log "$SSH $DST_HOST $WGET -O $DST_PATH $SRC" - ;; - -*) - log "Cloning $SRC" - exec_and_log "$SCP -r $SRC/* $DST" - ;; -esac - -exec_and_log "$SSH $DST_HOST chmod a+rwx $DST_PATH" - diff --git a/src/tm_mad/vmware-ssh/tm_ln.sh b/src/tm_mad/vmware-ssh/tm_ln.sh deleted file mode 100755 index 8b1d41f77f..0000000000 --- a/src/tm_mad/vmware-ssh/tm_ln.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -# ---------------------------------------------------------------------------- # -# Copyright 2010-2011, C12G Labs S.L # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); you may # -# not use this file except in compliance with the License. You may obtain # -# a copy of the License at # -# # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# Unless required by applicable law or agreed to in writing, software # -# distributed under the License is distributed on an "AS IS" BASIS, # -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # -# See the License for the specific language governing permissions and # -# limitations under the License. # -# ---------------------------------------------------------------------------- # - -SRC=$1 -DST=$2 - -if [ -z "${ONE_LOCATION}" ]; then - TMCOMMON=/usr/lib/one/mads/tm_common.sh - TM_COMMANDS_LOCATION=/usr/lib/one/tm_commands/ -else - TMCOMMON=$ONE_LOCATION/lib/mads/tm_common.sh - TM_COMMANDS_LOCATION=$ONE_LOCATION/lib/tm_commands/ -fi - -. $TMCOMMON - -exec $TM_COMMANDS_LOCATION/vmware-ssh/tm_clone.sh $SRC $DST diff --git a/src/tm_mad/vmware-ssh/tm_vmware_ssh.conf b/src/tm_mad/vmware-ssh/tm_vmware_ssh.conf deleted file mode 100644 index 8b2bca4d20..0000000000 --- a/src/tm_mad/vmware-ssh/tm_vmware_ssh.conf +++ /dev/null @@ -1,24 +0,0 @@ -# ---------------------------------------------------------------------------- # -# Copyright 2010-2011, C12G Labs S.L # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); you may # -# not use this file except in compliance with the License. You may obtain # -# a copy of the License at # -# # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# Unless required by applicable law or agreed to in writing, software # -# distributed under the License is distributed on an "AS IS" BASIS, # -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # -# See the License for the specific language governing permissions and # -# limitations under the License. # -# ---------------------------------------------------------------------------- # - -CLONE = vmware-ssh/tm_clone.sh -LN = vmware-ssh/tm_ln.sh -MKSWAP = ssh/tm_mkswap.sh -MKIMAGE = ssh/tm_mkimage.sh -DELETE = ssh/tm_delete.sh -MV = ssh/tm_mv.sh -CONTEXT = ssh/tm_context.sh - diff --git a/src/tm_mad/vmware/tm_vmware_ssh.conf b/src/tm_mad/vmware/tm_vmware_ssh.conf deleted file mode 100644 index f01bbb537f..0000000000 --- a/src/tm_mad/vmware/tm_vmware_ssh.conf +++ /dev/null @@ -1,24 +0,0 @@ -# ---------------------------------------------------------------------------- # -# Copyright 2010-2011, C12G Labs S.L # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); you may # -# not use this file except in compliance with the License. You may obtain # -# a copy of the License at # -# # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# Unless required by applicable law or agreed to in writing, software # -# distributed under the License is distributed on an "AS IS" BASIS, # -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # -# See the License for the specific language governing permissions and # -# limitations under the License. # -# ---------------------------------------------------------------------------- # - -CLONE = vmware-ssh/tm_clone.sh -LN = vmware-ssh/tm_ln.sh -MKSWAP = ssh/tm_mkswap.sh -MKIMAGE = ssh/tm_mkimage.sh -DELETE = ssh/tm_delete.sh -MV = ssh/tm_mv.sh -CONTEXT = vmware/tm_context.sh -