Skip to content

Conversation

mook-as
Copy link
Contributor

@mook-as mook-as commented Sep 18, 2025

This adds a new non-UI preference, experimental.virtual-machine.disk-size, that takes the same sort of value as found in the Lima configuration; Lima will automatically expand the disk to be that size.

A diagnostic is also attached, so that if the user has the manual override set, they can be warned that they should remove it (so that they can use our built-in configuration instead).

Fixes #1521

This adds a field to specify the desired disk size; it accepts a string
like `100GiB`, and does not support shrinking the disk.

Signed-off-by: Mark Yen <[email protected]>
This adds a check to see if the user has a lima override file set, and disk
sizes set within that.  If this is present, it breaks our settings for the
disk size.

Signed-off-by: Mark Yen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is there a way to specify disk size for VM on Mac M1?
1 participant