X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=utils%2Finfra_setup%2Fheat_template%2Fvstf_heat_template%2Fssh.sh;fp=utils%2Finfra_setup%2Fheat_template%2Fvstf_heat_template%2Fssh.sh;h=0000000000000000000000000000000000000000;hb=9f6acc0ed5e118f7874c70071e68def42118703b;hp=35600065fbf51468537bca9abdc8b37a72df0ec7;hpb=6d9521fff519412e66d585d8f980824414a218eb;p=bottlenecks.git 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 - } - } - " -} -