blob: 75b2ffa1ac138db72054c626dd6bea63eff5b3f2 [file] [log] [blame]
David K. Bainbridgef3071012016-08-04 09:29:55 -07001#!/bin/bash
2
David K. Bainbridgea677d4e2016-09-11 20:01:32 -07003LIST=$(curl -sS http://$(docker-ip provisioner):4243/provision/ | jq . | grep "node-" | awk '{print $2}' | sed -e 's/[",]//g')
David K. Bainbridgef3071012016-08-04 09:29:55 -07004
5for i in $LIST; do
6 echo "DELETE PROV RECORD '$i'"
7 curl -sS -XDELETE http://$(docker-ip provisioner):4243/provision/$i
8done
9