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

Support for passing a hostname to hermit. #39

Open
jounathaen opened this issue Sep 18, 2024 · 1 comment
Open

Support for passing a hostname to hermit. #39

jounathaen opened this issue Sep 18, 2024 · 1 comment

Comments

@jounathaen
Copy link
Member

AFAIK, we don't have support for retrieving the hostname in hermit yet, but I can imagine that we need this sometime.
The correct approach could be to generate unique hostnames in the hypervisor (similar to Dockers approach), and then we should pass them via hermit-entry.

Not urgent, but comments are welcome (@mkroening @stlankes)

@mkroening
Copy link
Member

I think this would fit nicely into the kernel arguments like this:

chosen {
    bootargs = "hostname=rudolf [OTHER_KERNEL_ARGS] -- [APP_ARGS]";
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants