Setup KVM template

Download the KVM template script

Download and run the proxmox_kvm.sh script:

Run this on the Proxmox PVE host
wget https://raw.githubusercontent.com/EnigmaCurry/blog.rymcg.tech/master/src/proxmox/proxmox_kvm.sh
chmod +x proxmox_kvm.sh

Create the Fedora VM template

Create the template:

Run this on the Proxmox PVE host
STORAGE=local-lvm \
DISTRO=fedora-41 \
TEMPLATE_ID=9003 \
PUBLIC_PORTS_TCP=22,80,443 \
FILESYSTEM_SIZE=20 \
./proxmox_kvm.sh template
Tip

If you installed Proxmox with ZFS storage, set STORAGE=local-zfs.