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

Fix exported env variables to ssh users (also include those with spaces) #47

Merged
merged 2 commits into from
Nov 22, 2024

Conversation

baschny
Copy link
Member

@baschny baschny commented Nov 22, 2024

New logic to pass env variables from the container to the SSH user. Now instead of doing a fancy "grep" we do some even more fancy gathering which variables are already set for the user and skip those explicitly.

We also skip multi-line variables because this is not supported by the /etc/environment.

New logic to pass env variables from the container to the SSH user. Now
instead of doing a fancy "grep" we do some even more fancy gathering which
variables are already set for the user and skip those explicitly.

We also skip multi-line variables because this is not supported by the
/etc/environment.
@baschny baschny merged commit 8a12971 into master Nov 22, 2024
6 checks passed
@baschny baschny deleted the fix-missing-env-vars branch February 7, 2025 17:27
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