Skip to content

Support adding kernel commandline options #857

Open
@jandubois

Description

@jandubois

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:
microsoft/WSL#4694
https://gitlab.alpinelinux.org/alpine/aports/-/issues/6927#note_31075

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions