From c3fe7d6d29f0887cb6ce43094e9171b01405e0af Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 21 Aug 2025 13:26:29 -0600 Subject: [PATCH] setup_container_runtime.sh: Reset podman ... if `podman system info` fails. Signed-off-by: Zack Cerza --- scripts/setup_container_runtime.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/setup_container_runtime.sh b/scripts/setup_container_runtime.sh index 563f64cf..4d1e0e95 100755 --- a/scripts/setup_container_runtime.sh +++ b/scripts/setup_container_runtime.sh @@ -2,6 +2,7 @@ # vim: ts=4 sw=4 expandtab function setup_container_runtime () { loginctl enable-linger "$(id -nu)" + podman system info > /dev/null || podman system reset --force if command -v podman; then PODMAN_MAJOR_VERSION=$(podman version -f json | jq -r '.Client.Version|split(".")[0]') if [ "$PODMAN_MAJOR_VERSION" -lt 4 ]; then -- 2.39.5