2023-02-24 14:33:37 +08:00
|
|
|
|
2023-04-09 23:26:32 +08:00
|
|
|
### 存档的脚本 - 勿要使用 - 全是BUG
|
2023-04-03 21:51:13 +08:00
|
|
|
|
|
|
|
#### pve6.4升级为最新的pve7.x
|
|
|
|
|
|
|
|
自测中,勿要使用,未完成
|
|
|
|
|
|
|
|
```
|
|
|
|
curl -L https://raw.githubusercontent.com/spiritLHLS/pve/main/pve6_to_pve7.sh -o pve6_to_pve7.sh && chmod +x pve6_to_pve7.sh && bash pve6_to_pve7.sh
|
|
|
|
```
|
2023-04-09 01:21:07 +08:00
|
|
|
|
|
|
|
替换qcow2
|
|
|
|
|
|
|
|
```
|
|
|
|
curl -L https://raw.githubusercontent.com/spiritLHLS/pve/main/back/rebuild.sh -o rebuild.sh && chmod +x rebuild.sh && bash rebuild.sh
|
|
|
|
```
|
2023-04-09 23:26:32 +08:00
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
curl -L https://raw.githubusercontent.com/spiritLHLS/pve/main/buildvm.sh -o buildvm.sh && chmod +x buildvm.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
./buildvm.sh 102 test1 1234567 1 512 5 40001 40002 40003 50000 50025 debian10
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
rm -rf vm* qcow *.sh
|
2023-04-09 23:37:05 +08:00
|
|
|
nft delete table nat
|
|
|
|
echo "" > /etc/nftables.conf
|
2023-04-09 23:26:32 +08:00
|
|
|
```
|