fix: force clean all old pods before fresh deploy

This commit is contained in:
Claus Lohmar 2026-07-10 16:28:20 +01:00
parent 8d2ffb503a
commit 8770476d61

View file

@ -39,6 +39,8 @@ if [ "$GREENFIELD" = true ]; then
systemctl disable nextworkspace 2>/dev/null || true
rm -f /etc/systemd/system/nextworkspace.service
systemctl daemon-reload
# Force clean all old pods and containers
podman pod rm -f -a 2>/dev/null || true
podman rm -f caddy authelia launcher 2>/dev/null || true
podman network rm "$NETWORK_NAME" 2>/dev/null || true