Revert "Allocate pseudo tty for ssh"
Reason: extra error messages when running "onos-test"
Pseudo-terminal will not be allocated because stdin is not a terminal.
This reverts commit 6ac0d554b020290daa7af6f8e25d27b8b61a9eb5.
Change-Id: I509b9e9dc941e1e7d281457693b1b74a5eb621e3
diff --git a/tools/test/bin/onos-config b/tools/test/bin/onos-config
index 6ef95ae..d8bc8c2 100755
--- a/tools/test/bin/onos-config
+++ b/tools/test/bin/onos-config
@@ -18,7 +18,7 @@
echo "]}" >> $CDEF_FILE
scp -q $CDEF_FILE $remote:$ONOS_INSTALL_DIR/config/cluster.json
-ssh -t $remote "
+ssh $remote "
sudo perl -pi.bak -e \"s/ <interface>.*</ <interface>${ONOS_NIC:-192.168.56.*}</g\" \
$ONOS_INSTALL_DIR/$KARAF_DIST/etc/hazelcast.xml
sudo perl -pi -e \"s/ <name>onos</ <name>${ONOS_CELL:-onos}</g\" \
diff --git a/tools/test/bin/onos-install b/tools/test/bin/onos-install
index 661736d..c13b8b9 100755
--- a/tools/test/bin/onos-install
+++ b/tools/test/bin/onos-install
@@ -23,7 +23,7 @@
scp -q $ONOS_TAR $remote:/tmp
-ssh -t $remote "
+ssh $remote "
[ -d $ONOS_INSTALL_DIR/bin ] && echo \"ONOS is already installed\" && exit 1
# Prepare a landing zone and unroll the bits
@@ -45,7 +45,6 @@
# Remove any previous ON.Lab bits from ~/.m2 repo and re-stage it.
rm -fr ~/.m2/repository/org/onlab
- mkdir -p ~/.m2/repository/org/onlab
cp -r $ONOS_INSTALL_DIR/$KARAF_DIST/system/org/onlab ~/.m2/repository/org/onlab
# Drop log level for the console
diff --git a/tools/test/bin/onos-service b/tools/test/bin/onos-service
index d7b0a08..d5fabe5 100755
--- a/tools/test/bin/onos-service
+++ b/tools/test/bin/onos-service
@@ -40,5 +40,5 @@
# Execute the remote commands
for node in $nodes; do
- ssh -t $ONOS_USER@${node} "sudo service onos ${2:-status}"
+ ssh $ONOS_USER@${node} "sudo service onos ${2:-status}"
done
diff --git a/tools/test/bin/onos-uninstall b/tools/test/bin/onos-uninstall
index 84db340..e2a2816 100755
--- a/tools/test/bin/onos-uninstall
+++ b/tools/test/bin/onos-uninstall
@@ -8,7 +8,7 @@
remote=$ONOS_USER@${1:-$OCI}
-ssh -t $remote "
+ssh $remote "
sudo service onos stop 1>/dev/null 2>/dev/null
sudo rm -fr $ONOS_INSTALL_DIR
"