使用Pve批量开设kvm小鸡

friend 发布于 10 天前 49 次阅读


AI 摘要

想要轻松批量部署KVM虚拟机?本教程将一步步带你完成从环境检测到网络配置,再到自动化创建虚拟机的全过程。无论是开设Swap支持还是设置高效的PVE平台,快速上手只需几行脚本,助你省时省力完成任务!

开Swap(可选)

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

检测环境

bash <(wget -qO- --no-check-certificate https://raw.githubusercontent.com/oneclickvirt/pve/main/scripts/check_kernal.sh)

安装pve

curl -L https://raw.githubusercontent.com/oneclickvirt/pve/main/scripts/install_pve.sh -o install_pve.sh && chmod +x install_pve.sh && bash install_pve.sh

预配置环境

bash <(wget -qO- --no-check-certificate https://raw.githubusercontent.com/oneclickvirt/pve/main/scripts/build_backend.sh)

配置网络

bash <(wget -qO- --no-check-certificate https://raw.githubusercontent.com/oneclickvirt/pve/main/scripts/build_nat_network.sh)

批量开设kvm

curl -L https://raw.githubusercontent.com/oneclickvirt/pve/main/scripts/create_vm.sh -o create_vm.sh && chmod +x create_vm.sh && bash create_vm.sh

参考教程

此作者没有提供个人介绍。
最后更新于 2025-08-26