Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
workers_list=$(bosh vms --json | jq '.Tables | .[0].Rows | map(.[0])' | grep worker | tr -d "\",\ ")
echo "Recreating following workers: "
echo "$workers_list"
while read -r worker; do
bosh recreate -f "$worker"
done <<< "$workers_list"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.