diff --git a/README.md b/README.md index 5c8e60e81..ad46a7887 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,7 @@ The VM can be customized either by passing additional flags to `colima start`. e.g. `--cpu`, `--memory`, `--disk`, `--runtime`. Or by editing the config file with `colima start --edit`. -**NOTE**: ~~disk size cannot be changed after the VM is created.~~ From v0.5.3, disk size can be increased when Qemu is used. +**NOTE**: ~~disk size cannot be changed after the VM is created.~~ From v0.5.3, disk size can be increased. #### Customization Examples diff --git a/embedded/defaults/colima.yaml b/embedded/defaults/colima.yaml index c68eff095..b7f7bfb2e 100644 --- a/embedded/defaults/colima.yaml +++ b/embedded/defaults/colima.yaml @@ -4,7 +4,6 @@ cpu: 2 # Size of the disk in GiB to be allocated to the virtual machine. # NOTE: value can only be increased after virtual machine has been created. -# Increasing the disk size requires `vmType: qemu` # # Default: 60 disk: 60 diff --git a/environment/vm/lima/lima.go b/environment/vm/lima/lima.go index 2262a1a61..c2980a436 100644 --- a/environment/vm/lima/lima.go +++ b/environment/vm/lima/lima.go @@ -310,11 +310,6 @@ func (l *limaVM) syncDiskSize(ctx context.Context, conf config.Config) config.Co return false } - if conf.VMType == limaconfig.VZ { - log.Warnln("dynamic disk resize not supported for VZ driver, ignoring...") - return false - } - size := conf.Disk - instance.Disk if size < 0 { log.Warnln("disk size cannot be reduced, ignoring...")