Closed SimonyanG closed 1 year ago
@SimonyanG how about just overriding HOME
environment variable instead?
@SimonyanG how about just overriding
HOME
environment variable instead?
i tried, didn't work, GO gets home location from /etc/passwd instead of HOME
env value
Please see this answer. The old API (as far as we understand) uses passwd file instead of the HOME env. The new API uses HOME env.
@SimonyanG let's fix getHomeDir()
function to use os.UserHomeDir()
instead.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Enhance functionality in CM by introducing the AEROKUBE_CONFIG_DIR variable, allowing users to conveniently store the .aerokube directory within a specified location.