pve/back
2023-04-10 15:10:50 +08:00
..
create_vm.sh Update create_vm.sh 2023-04-09 23:23:55 +08:00
get_images.py Create get_images.py 2023-04-09 01:07:45 +08:00
install_pve7.sh
pve6_to_pve7.sh Rename pve6_to_pve7.sh to back/pve6_to_pve7.sh 2023-04-03 21:51:25 +08:00
README.md Update README.md 2023-04-09 23:46:24 +08:00
rebuild.sh Update rebuild.sh 2023-04-09 01:23:39 +08:00
rebuild_qcow2.sh Update rebuild_qcow2.sh 2023-04-10 15:10:50 +08:00

存档的脚本 - 勿要使用 - 全是BUG

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

替换qcow2

curl -L https://raw.githubusercontent.com/spiritLHLS/pve/main/back/rebuild.sh -o rebuild.sh && chmod +x rebuild.sh && bash rebuild.sh

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 ubuntu20
rm -rf vm* qcow *.sh
nft delete table nat
echo "" > /etc/nftables.conf
systemctl restart nftables.service