Automatic resize disk space for different VM

TND

Active Member
May 19, 2019
15
0
41
35
Dear Proxmox,

How can i create a centos 7 template and deploy for multi VM with differrent size ? Like 10gb, 20gb, 30gb.
And new VM will automatic use all available space for root?

Thank you
 
Hi, you could create a template with minimum required disk size and expand your disk after deployment in the Hardware tab (or via `qm resize <vmid> <disk> <size> [OPTIONS]` see `man qm`).
How the additional space is used is up to your VM. You can expand your filesystem or create a new partition... This is something you will have to do from within the VM.
 
  • Like
Reactions: TND