Skip to content
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

/etc/bootc/kargs.d #899

Open
kfox1111 opened this issue Nov 15, 2024 · 2 comments
Open

/etc/bootc/kargs.d #899

kfox1111 opened this issue Nov 15, 2024 · 2 comments
Labels
area/client Related to the client/CLI dependencies enhancement New feature or request

Comments

@kfox1111
Copy link

It would be useful to have /etc/bootc/kargs.d in addition to /usr/lib/bootc/kargs.d get merged in.

Example use case: If you have a mixed hardware cluster, you often will have a different set of console args related to the serial console, but otherwise all the nodes are the same. You could make custom images for each hardware class, but if there was an /etc/bootc/kargs.d, you could just drop that arg in there and the same image would work everywhere.

@cgwalters cgwalters added enhancement New feature or request dependencies area/client Related to the client/CLI labels Nov 15, 2024
@cgwalters
Copy link
Collaborator

Example use case: If you have a mixed hardware cluster,

We support conditionalizing kargs on architecture right now https://containers.github.io/bootc/building/kernel-arguments.html#usrlibbootckargsd

But yes per our discussion sometimes there are kargs that are dependent on (platform, arch) where "platform" is like "gcp", "aws", "metal" etc.

@kfox1111
Copy link
Author

Yeah, where I usually have been seeing it though, the arch is x86_64. Just different serial ports. So, not too much to conditional on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/client Related to the client/CLI dependencies enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants