Resize virtual machine disk

Options

optiondescriptionAllowed values
vmidthe virtual machine id from which you want to resize the diskstring
vmnamethe virtual machine name from which you want to resize the diskstring
filter-nameregex selector applied on virtual machines names you want to resize the diskstring
diskthe disk name in virtual machine config (usualy the one associated with bootdisk)string
sizeThe desired size of the disk (Ex: 50G)string
Info

vmid, vmname and filter-name are mutualy exclusive

Examples

  • resize the boot disk
proxcli vms resize --vmid 111 --disk virtio0 --size "60G"