-
Notifications
You must be signed in to change notification settings - Fork 634
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
Support adding kernel commandline options #857
Comments
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 |
Hi Team |
Hi Team, Any updates on this or how to enable vsyscall=emulate for Mac running Lima? |
Really appreciate to have this feature |
@AkihiroSuda @jandubois There seems two ways we can do it, if we could change the boot loader to LinuxBootLoader we can just use the command line parameter of the function. Otherwise, we could try to use EFI_STUB to boot the kernel, it seems alpine virt kernel is compiled with this option. |
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
ordefault.yaml
file becauseimage
lists are simply concatenated; there is no way to modify attributes of an existing entry like we do formounts
andnetworks
. 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 anycmdline
setting specified for a particular image. That would allow setting things globally, like:References:
microsoft/WSL#4694
https://gitlab.alpinelinux.org/alpine/aports/-/issues/6927#note_31075
The text was updated successfully, but these errors were encountered: