Remove log dirs during purge

This commit is contained in:
Joshua Boniface 2021-01-28 14:12:40 -05:00
parent f4974d648d
commit 71edb9db15
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ for host in $@; do
sudo systemctl stop zookeeper; sudo systemctl stop zookeeper;
sudo rm -rf /etc/pvc-install.* /etc/ceph* /etc/patroni* /etc/postgres* /etc/zookeeper* /etc/libvirt*; 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; 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 /run/ceph;
sudo rm -rf /etc/systemd/system/ceph-*.target.wants; sudo rm -rf /etc/systemd/system/ceph-*.target.wants;
sudo apt purge -y *ceph* *rbd* *rados*; sudo apt purge -y *ceph* *rbd* *rados*;