-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The image should be a hard drive image, not ISO9660 #123
Comments
Being able to use a "LiveCD" ISO with Lima is a great feature (since the docker-machine days), and I hope that it is never removed from Lima... |
The ISO build can continue to be supported, but probably not as a "Tier 1" |
That just means you want to remove the ⭐ on the Alpine entry on https://lima-vm.io/docs/templates/, or anything else? I'm fine with removing the ⭐. |
Yes, inclined to demote Alpine from Tier 1 ⭐ to Tier 2 ☆ |
I assume you mean the cidata boot scripts and not the logic in Go here. I think some of the logic (like This wasn't possible originally, but I think we have most of the pieces in place to implement something like additionalDisks:
- name: data
internal: true
provision:
- mode: boot
script: lima-setup-peristent-disk /etc /home /root /tmp /usr/local /var/lib The And we would need to implement 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. |
As for creating a hard drive image for Alpine, are there any tools that would convert an ISO into a disk image? If this is easy to do, then I'm happy to add it. But if it is a completely separate process to build, then I'm personally not interested and would wait for somebody else to implement it. |
When I made my distributions, it was separate build targets. Same rootfs, but different imaging tools at the end... I used the LiveCD for containers (same as in docker-machine, and here), but then used resizable HDD for kubernetes. |
The The comment about moving the persistent storage out from Lima to alpine-lima has been copied to #131. |
All the official Lima templates except Alpine uses hard drive images, and it is hard to maintain ISO booting specifically for Alpine
The text was updated successfully, but these errors were encountered: