VBoxManage modifymedium [disk|dvd|floppy] <uuid|filename> [options]
--type normal|writethrough|immutable|shareable| readonly|multiattach | |
--autoreset on|off | |
--property <name=[value | >] |
--compact | |
--resize <megabytes>|--resizebyte <bytes> | |
--move <path> | |
--setlocation <path> | |
--description <description string> |
VBoxManage modifymedium "$home/VirtualBox VMS/$vmName/hard-disk.vdi" --resize 64000
VBoxManage modifyhd
and VBoxManage modifyvdi
are internally mapped to VBoxManage modifymedium
.