[
https://ovirt-jira.atlassian.net/browse/OVIRT-2359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=37576#comment-37576
]
Barak Korren commented on OVIRT-2359:
-------------------------------------
Here is how you can gain access to the env vars you passed to Dokcer, no need
to pass them as files:
https://unix.stackexchange.com/questions/146995/inherit-environment-variables-in-systemd-docker-container
and, as mentioned on that ticket, its a good idea to have an early one-shot
service that will copy the variables you need into /etc/environment to make
them available to non-root services.
> Set environment variable in jenkins user's env to inidicate it's a container
> ----------------------------------------------------------------------------
>
> Key: OVIRT-2359
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-2359
> Project: oVirt - virtualization made easy
> Issue Type: Task
> Reporter: Daniel Belenky
> Assignee: infra
>
> We need to set a variable under the jenkins user that will indicate we're
> running inside a container.
--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100090)
_______________________________________________
Infra mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/[email protected]/message/JAGJBEPPNAIZ2H66YCMBPS4RMGPC3AM2/