containers / ai-lab-recipes

Examples for building and running LLM services and applications locally with Podman
Apache License 2.0
103 stars 106 forks source link

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

Closed javipolo closed 1 month ago

rhatdan commented 1 month ago

Why wouldn't I just override HOME?

HOME=/tmp/foobar ilab ...

fabiendupont commented 1 month ago

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.

rhatdan commented 1 month ago

LGTM