summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest/ete/scripts/get-docker-versions.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/ete/scripts/get-docker-versions.sh b/test/ete/scripts/get-docker-versions.sh
new file mode 100755
index 000000000..9c6ad62b6
--- /dev/null
+++ b/test/ete/scripts/get-docker-versions.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+IFS=$'\n'
+SERVERS=$(openstack server list -f json | jq -r '.[] | .Name + " " + .Networks' )
+for SERVER in $SERVERS; do
+ NAME=$(echo $SERVER | cut -d ' ' -f 1)
+ IP_ADDR=$(echo $SERVER | cut -d ' ' -f 3)
+ echo $NAME=$IP_ADDR
+ ssh root@$IP_ADDR "docker ps -a | grep -v CONTAINER | LC_ALL=C sort"
+done