From 3c465f4e7f36976619227f2a46c964a1716c6d59 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:28 -0400 Subject: [PATCH] Purge ceph too --- purge.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/purge.sh b/purge.sh index 138ce21..5b20433 100755 --- a/purge.sh +++ b/purge.sh @@ -23,8 +23,8 @@ for host in $@; do done 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 /var/lib/postgresql /var/lib/zookeeper/* /var/lib/libvirt /var/lib/ceph/*; + suod rm -rf /var/log/postgresql /var/log/zookeeper /var/log/libvirt /var/log/ceph; sudo rm -rf /run/ceph; sudo rm -rf /etc/systemd/system/ceph-*.target.wants; sudo apt purge -y *pvc*;