David K. Bainbridge | f307101 | 2016-08-04 09:29:55 -0700 | [diff] [blame^] | 1 | #!/bin/bash |
2 | |||||
3 | LIST=$(curl -sS http://$(docker-ip provisioner):4243/provision/ | jq . | grep "node-" | awk '{print $2}' | sed -e 's/"//g') | ||||
4 | |||||
5 | for i in $LIST; do | ||||
6 | echo "DELETE PROV RECORD '$i'" | ||||
7 | curl -sS -XDELETE http://$(docker-ip provisioner):4243/provision/$i | ||||
8 | done | ||||
9 |