Creating Vm Template in Proxmox - Tue, Oct 25, 2022
- attach VGA console
qm set $VM_ID --serial0 socker --vga serial0
- attach VGA console
- rename the image to
qcow2
e.g.,mv ubuntu-22.04-minimal-cloudimg-amd64.img ubuntu-22.04-cloud.qcow2
- rename the image to
- resize the image
qemu-img resize ubuntu-22.04-cloud.qcow2 30G
- resize the image
- import image into proxmox
qm importdisk $VM_ID ubuntu-22.04-cloud.qcow2 local-lvm
- import image into proxmox
Heavy Inspiration drawn from this blog/video