Skip to content

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

Merged
slp merged 3 commits into
libkrun:mainfrom
slp:use-set-env
Aug 4, 2022
Merged

Use krun_set_env to set env vars when no command is configured#27
slp merged 3 commits into
libkrun:mainfrom
slp:use-set-env

Conversation

@slp
Copy link
Copy Markdown
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 <slp@redhat.com>
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 <slp@sinrega.org>
This version includes changes in the behavior, bump minor number to
v0.2.0.

Signed-off-by: Sergio Lopez <slp@redhat.com>
@slp slp merged commit a99b7b9 into libkrun: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