Update README.md

This commit is contained in:
spiritLHLS 2023-04-14 15:33:33 +08:00 committed by GitHub
parent beca250d7b
commit cb14a4b6dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -186,6 +186,17 @@ cat vmlog
查看信息 查看信息
#### 删除所有虚拟机
```
for vmid in $(qm list | awk '{if(NR>1) print $1}'); do qm stop $vmid; qm destroy $vmid; rm -rf /var/lib/vz/images/$vmid*; done
iptables -t nat -F
iptables -t filter -F
service networking restart
systemctl restart networking.service
rm -rf vmlog
```
### 注意事项 ### 注意事项
PVE修改虚拟机配置前都得停机先再修改配置修改完再启动免得出现配置重载错误 PVE修改虚拟机配置前都得停机先再修改配置修改完再启动免得出现配置重载错误