Created
April 10, 2019 08:57
-
-
Save mbaldessari/d596adc4c21ecdd2e229786abbc32870 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# stop active systemd | |
for i in $(systemctl list-units |grep -e 'tripleo.*active' -e 'tripleo.*timer'|awk '{ print $1}'); do | |
echo $i; | |
sudo systemctl stop $i; | |
done | |
sudo podman ps -q -a |xargs -n1 sudo podman rm -f | |
sudo podman images -q -a |xargs -n1 sudo podman rmi -f | |
sudo rm -rf /var/lib/mysql/* | |
sudo rm -rf /var/log/containers/* | |
sudo rm -f /etc/systemd/system/tripleo* | |
sudo systemctl stop openvswitch ovs* | |
sudo rm -rf /var/run/openvswitch/* | |
sudo systemctl start openvswitch ovs* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment