From c634823ba501e9d88bc79c41c0184f681c96f3b6 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:25 -0400 Subject: [PATCH] Remove log dirs during purge --- purge.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/purge.sh b/purge.sh index fb73374..def1f95 100755 --- a/purge.sh +++ b/purge.sh @@ -23,6 +23,7 @@ for host in $@; do sudo systemctl stop zookeeper; sudo rm -rf /etc/pvc-install.* /etc/ceph* /etc/patroni* /etc/postgres* /etc/zookeeper* /etc/libvirt*; sudo rm -rf /var/lib/postgresql /var/lib/zookeeper /var/lib/libvirt; + suod rm -rf /var/log/postgresql /var/log/zookeeper /var/log/libvirt; sudo rm -rf /run/ceph; sudo rm -rf /etc/systemd/system/ceph-*.target.wants; sudo apt purge -y *ceph* *rbd* *rados*;