Blame SOURCES/bz2029753-podman-remove-anonymous-volumes.patch

32b08e
From c6338011cf9ea69324f44c8c31a4ca2478aab35a Mon Sep 17 00:00:00 2001
32b08e
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
32b08e
Date: Tue, 7 Dec 2021 08:59:50 +0100
32b08e
Subject: [PATCH] podman: remove anonymous volumes
32b08e
32b08e
---
32b08e
 heartbeat/podman | 2 +-
32b08e
 1 file changed, 1 insertion(+), 1 deletion(-)
32b08e
32b08e
diff --git a/heartbeat/podman b/heartbeat/podman
32b08e
index fd901c968..2b73857f1 100755
32b08e
--- a/heartbeat/podman
32b08e
+++ b/heartbeat/podman
32b08e
@@ -251,7 +251,7 @@ remove_container()
32b08e
 		return 0
32b08e
 	fi
32b08e
 	ocf_log notice "Cleaning up inactive container, ${CONTAINER}."
32b08e
-	ocf_run podman rm $CONTAINER
32b08e
+	ocf_run podman rm -v $CONTAINER
32b08e
 	rc=$?
32b08e
 	if [ $rc -ne 0 ]; then
32b08e
 		# due to a podman bug (rhbz#1841485), sometimes a stopped