lima
lima copied to clipboard
Support adding kernel commandline options
Description
#827 added a mechanism to specify additional kernel parameters for a specific image.
Unfortunately this does not allow providing additional parameters via an override.yaml or default.yaml file because image lists are simply concatenated; there is no way to modify attributes of an existing entry like we do for mounts and networks. There is also no obvious way how this can be made to work for images.
I would like to add a top-level attribute cmdline that will be appended in addition to any cmdline setting specified for a particular image. That would allow setting things globally, like:
cmdline: "vsyscall=emulate"
References: https://github.com/microsoft/WSL/issues/4694 https://gitlab.alpinelinux.org/alpine/aports/-/issues/6927#note_31075
Not a huge fan of adding the cmdline as a global attribute.
Wondering if we could rather specify this as an EFI var inside the firmware: section.
I don't know how we could pass the EFI var into the kernel, but I believe it is possible.
Hi Team is there any update on this ?
Hi Team, Any updates on this or how to enable vsyscall=emulate for Mac running Lima?