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

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