Update uninstallpve.sh

This commit is contained in:
spiritLHLS 2023-05-11 12:13:26 +08:00 committed by GitHub
parent 428df67bb1
commit 4138903c56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,12 @@ iptables -t filter -F
service networking restart
systemctl restart networking.service
rm -rf vm*
pct list | awk 'NR>1{print $1}' | xargs -I {} sh -c 'pct stop {}; pct destroy {}'
rm -rf ct*
iptables -t nat -F
iptables -t filter -F
service networking restart
systemctl restart networking.service
systemctl stop pve-cluster.service
systemctl stop pvedaemon.service
systemctl stop pvestatd.service