mirror of
https://github.com/thelittlerocket/pve.git
synced 2024-11-15 03:24:54 +08:00
Update README.md
This commit is contained in:
parent
beca250d7b
commit
cb14a4b6dc
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
@ -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修改虚拟机配置前都得停机先,再修改配置,修改完再启动,免得出现配置重载错误
|
||||
|
|
Loading…
Reference in a new issue