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