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

RHELAI-744 - Use environment variable to override HOME in ilab wrapper #709

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

javipolo
Copy link
Collaborator

No description provided.

@rhatdan
Copy link
Member

rhatdan commented Jul 31, 2024

Why wouldn't I just override HOME?

HOME=/tmp/foobar ilab ...

@fabiendupont
Copy link
Contributor

The ILAB_HOME variable can be persistent (.bash_profile...), so that the user doesn't have to type HOME=/tmp/foobar on every command line. And alias would also work, but a convention on an environment variable name is easier to override for tests.

@javipolo javipolo force-pushed the ilab_home_override branch from 30c449f to 107f8a9 Compare July 31, 2024 14:59
@javipolo javipolo changed the title Allow to override HOME to easily use a different data directory with ilab wrapper RHELAI-744 - Use environment variable to override HOME in ilab wrapper Jul 31, 2024
@rhatdan
Copy link
Member

rhatdan commented Aug 1, 2024

LGTM

@rhatdan rhatdan merged commit a152539 into containers:main Aug 1, 2024
1 check passed
@javipolo javipolo deleted the ilab_home_override branch August 1, 2024 13:30
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.

3 participants