Created
July 10, 2019 11:21
-
-
Save ThoZed/355b3009948224a7418ec07e73bec204 to your computer and use it in GitHub Desktop.
heketi remove all volumes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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