本脚本用于在 Proxmox VE (PVE) 环境下,通过官方 Cloud 镜像一键创建经过优化的 Debian/Ubuntu/Rocky/AlmaLinux 虚拟机模板。
virt-customize 直接注入 qemu-guest-agent、设置时区、安装基础工具(htop, curl 等)。local (Directory) 和 local-lvm (LVM-Thin) 存储。| 编号 | 系统 | 架构 |
|---|---|---|
| 1 | Debian 13 (Trixie) | amd64 |
| 2 | Debian 12 (Bookworm) | amd64 |
| 3 | Ubuntu 22.04 LTS (Jammy) | amd64 |
| 4 | Ubuntu 24.04 LTS (Noble) | amd64 |
| 5 | Rocky Linux 9 | x86_64 |
| 6 | AlmaLinux 9 | x86_64 |
bash <(curl -s https://raw.githubusercontent.com/muzihuaner/ProxmoxVE-template-maker/refs/heads/main/create_template.sh)https://github.com/muzihuaner/ProxmoxVE-template-maker/