Martin Schwenke has uploaded this change for review.

View Change

scripts: Add delete-all operation for ganesha-container

Allows quick delete of all container images so they can be refreshed.

Refactor the existing container_all() function to be
container_foreach(), which knows how to handle certain keywords.

While here change the final if statement into a case statement to
improve readability.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Change-Id: I41c823914a1c8f6f9dd7c2ea5b260ece492b611f
---
M src/scripts/podman/ganesha-container
1 file changed, 31 insertions(+), 10 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/53/1199253/1

To view, visit change 1199253. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I41c823914a1c8f6f9dd7c2ea5b260ece492b611f
Gerrit-Change-Number: 1199253
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Schwenke <martin@meltin.net>