You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moving this to a new issue because I want to close #123
I assume you mean the cidata boot scripts and not the logic in Go here.
I think some of the logic (like 04-persistent-data-volume) should be moved to the distro instead of being hard-coded in Lima (e.g. I sometimes wanted an Alpine VM without the persistent disk).
This wasn't possible originally, but I think we have most of the pieces in place to implement something like
The internal: true setting would create a non-shared additional disk that would be created and deleted automatically as the instance is created/deleted.
And we would need to implement mode: boot support for Alpine.
Then the script can be included in the ISO and you can have templates with and without persistent disks, and could even configure which directories you want to persist.
We would still have to keep the current boot scripts for backwards compatibility with older existing instances, so we would also need a mechanism to disable the builtin support.
Moving this to a new issue because I want to close #123
I assume you mean the cidata boot scripts and not the logic in Go here.
I think some of the logic (like
04-persistent-data-volume
) should be moved to the distro instead of being hard-coded in Lima (e.g. I sometimes wanted an Alpine VM without the persistent disk).This wasn't possible originally, but I think we have most of the pieces in place to implement something like
The
internal: true
setting would create a non-shared additional disk that would be created and deleted automatically as the instance is created/deleted.And we would need to implement
mode: boot
support for Alpine.Then the script can be included in the ISO and you can have templates with and without persistent disks, and could even configure which directories you want to persist.
We would still have to keep the current boot scripts for backwards compatibility with older existing instances, so we would also need a mechanism to disable the builtin support.
Originally posted by @jandubois in #123 (comment)
The text was updated successfully, but these errors were encountered: