-
Notifications
You must be signed in to change notification settings - Fork 661
Rename config files and machine files #2436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Many of the files and directories have confusing filenames For Alpine basedisk is really iso and diffdisk is disk. There configuration directory is _config Logs, sockets, kernel files and configuration are in one directory |
Small improvements would make it easier for users to configure lima or clean up files ~/.lima/config/networks.yaml ~/.lima/ssh/id_ed25519 ~/.lima/machines/$name/lima.yaml |
Many of the existing names have been chosen because stuff has been squeezed in without breaking backwards compatibility. E.g. we picked Moving instances into a subdirectory is obviously better, but it also means that we need to provide migrations for users that update from a previous version of Lima. And it also means that users couldn't move back to an older version in case they run into an issue with the new Lima version, because we couldn't provide a reverse-migration (the old Lima version wouldn't know about the new layout). I think it might be a good idea to sanitize the filesystem layout for Lima 1.0.0, but it needs some careful consideration of upgrade scenarios, and usage by downstream projects, like colima, finch, and Rancher Desktop, as well as other scripts that users might have. BTW, I don't understand what the issue is with having |
I don't know what would be in here. The Lima caches should be shared by all instances.
This is potentially problematic, as the path is really On macOS a socket filename must be no more than 103 characters, so this gratuitously takes an additional 17 characters from a very limited resource, severely limiting where you can put
What would be in here? Just the For me putting the logs into a separate directory would be the most useful, so I can easily grep just them and none of the other files. |
Thanks for the explanation :) |
Description
No response
The text was updated successfully, but these errors were encountered: