aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-03-15 14:51:11 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-03-15 14:51:11 +0100
commitc427bd6cf4c1f64b9c1c301489096eb1cf6e3967 (patch)
tree5c1e42682a8ffb1924a0b24ef19f93820af18abd /ansible/roles
parent8b9f1a8d55070aa62814583f4d97e11356600366 (diff)
ansible: ogt: uhubctl has new cmdline syntax to specify ports
Diffstat (limited to 'ansible/roles')
-rwxr-xr-xansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh b/ansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh
index f461d81..b826976 100755
--- a/ansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh
+++ b/ansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh
@@ -3,12 +3,12 @@ set -ex
locations="$(uhubctl -n 1d50:4002 | grep "Current status for hub" | awk '{print $5}')"
for l in $locations; do
- uhubctl -p 123456 -a 0 -n 1d50:4002 -l $l
+ uhubctl -p 1,2,3,4,5,6 -a 0 -n 1d50:4002 -l $l
done
# give a lot of time to discharge capacitors on the board
sleep 20
for l in $locations; do
- uhubctl -p 123456 -a 1 -n 1d50:4002 -l $l
+ uhubctl -p 1,2,3,4,5,6 -a 1 -n 1d50:4002 -l $l
done
attempts=30
while [ "x$(uhubctl | grep -e 05c6 -e 1199 -c)" != "x{{ gsm_modems }}" ]; do