commit | cf7ce3bba6ae8f759d9a49cf151eb3018762d87f | [log] [tgz] |
---|---|---|
author | Thomas Vachuska <tom@opennetworking.org> | Mon Aug 20 09:34:08 2018 -0700 |
committer | Thomas Vachuska <tom@opennetworking.org> | Mon Aug 20 09:34:08 2018 -0700 |
tree | 35ed0c11e4db450713b3b0cfce55a1ddc57e5a95 | |
parent | b7873421cc07412f9f00878da0d8119201d0e2fc [diff] |
Fixed onos-secure-ssh to consider environment defaults. Change-Id: I0efb3b4273c449a03246b518287328d151ce2a71
diff --git a/tools/test/bin/onos-secure-ssh b/tools/test/bin/onos-secure-ssh index 9bd8881..45f0401 100755 --- a/tools/test/bin/onos-secure-ssh +++ b/tools/test/bin/onos-secure-ssh
@@ -17,6 +17,8 @@ let OPC=$OPTIND-1 shift $OPC +user=${user:-$ONOS_WEB_USER} +password=${password:-$ONOS_WEB_PASS} nodes=${1:-$(env | sort | egrep "^OC[0-9]+" | cut -d= -f2)} # ensure known_hosts file exist