Skip to content

Instantly share code, notes, and snippets.

@ThoZed
Created July 10, 2019 11:21
Show Gist options
  • Save ThoZed/355b3009948224a7418ec07e73bec204 to your computer and use it in GitHub Desktop.
Save ThoZed/355b3009948224a7418ec07e73bec204 to your computer and use it in GitHub Desktop.
heketi remove all volumes
#!/bin/bash
for vol in $(heketi-cli volume list | awk '{print $1}' | cut -d':' -f2)
do
heketi-cli volume delete $vol
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment