From 194ae04e266f63512a8f041f6bfd0dc330cd81af Mon Sep 17 00:00:00 2001 From: "Yiting.Li" Date: Wed, 20 Jan 2016 11:01:43 +0800 Subject: JIRA: BOTTLENECKS-41 define the documents of vstf in B release Change-Id: Ib2ef6fabf0452a3e686d3de0ec7424e9a0500482 Signed-off-by: Yiting.Li --- .../heat_template/vstf_heat_template/ssh.sh | 28 ---------------------- 1 file changed, 28 deletions(-) delete mode 100644 utils/infra_setup/heat_template/vstf_heat_template/ssh.sh (limited to 'utils/infra_setup/heat_template/vstf_heat_template/ssh.sh') diff --git a/utils/infra_setup/heat_template/vstf_heat_template/ssh.sh b/utils/infra_setup/heat_template/vstf_heat_template/ssh.sh deleted file mode 100644 index 35600065..00000000 --- a/utils/infra_setup/heat_template/vstf_heat_template/ssh.sh +++ /dev/null @@ -1,28 +0,0 @@ -function run_cmd() -{ - local ip=$1 - local usr=$2 - local passwd=$3 - local cmd=$4 - expect -c " - spawn ssh $usr@$ip - set timeout -1 - expect { - \"*no)?\" { - send \"yes\r\" - exp_continue - } - \"*assword:*\" { - send \"$passwd\r\" - exp_continue - } - \"*#\" { - send \"$cmd\r\" - exec sleep 1 - send \"exit\r\" - expect eof - } - } - " -} - -- cgit 1.2.3-korg