Skip to content

Use krun_set_env to set env vars when no command is configured #27

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

Merged
merged 3 commits into from
Aug 4, 2022

Conversation

slp
Copy link
Collaborator

@slp slp commented Aug 4, 2022

No description provided.

slp and others added 3 commits August 4, 2022 19:10
If we're not setting a command line with krun_set_exec(), use the
newly introduced krun_set_env() to set some basic environment
variables.

Signed-off-by: Sergio Lopez <[email protected]>
Since libkrun's init/init.c is able to read the environment variables
for the config file, avoid setting it through the library, as it would
override the value.

Signed-off-by: Sergio Lopez <[email protected]>
This version includes changes in the behavior, bump minor number to
v0.2.0.

Signed-off-by: Sergio Lopez <[email protected]>
@slp slp merged commit a99b7b9 into containers:main Aug 4, 2022
@slp slp deleted the use-set-env branch August 4, 2022 19:18
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

Successfully merging this pull request may close these issues.

1 participant