mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-03-04 01:38:12 +08:00
Update uninstallpve.sh
This commit is contained in:
parent
428df67bb1
commit
4138903c56
1 changed files with 6 additions and 0 deletions
|
@ -7,6 +7,12 @@ iptables -t filter -F
|
||||||
service networking restart
|
service networking restart
|
||||||
systemctl restart networking.service
|
systemctl restart networking.service
|
||||||
rm -rf vm*
|
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 pve-cluster.service
|
||||||
systemctl stop pvedaemon.service
|
systemctl stop pvedaemon.service
|
||||||
systemctl stop pvestatd.service
|
systemctl stop pvestatd.service
|
||||||
|
|
Loading…
Reference in a new issue