I am trying to install Red Hat Ansible Automation Platform 2.5 containerized installation on RHEL 9.6.
Does anyone know if it is even possible to change the location of the paths for the “.local/share/containers” hierarchy? I know I can create a symlink to point the “.local/share/containers” to another mountpoint, but I would prefer to not use a symlink if possible.
Currently its parent path is $HOME (e.g. /home/$USER").
Any assistance would be greatly appreciated.
I don’t know for certain, but you could try exporting the XDG_DATA_HOME env var with a different path, both before install but also persistently via a shell config file.
It defaults to ~/.local/share and Podman references it when deciding where to store containers before defaulting to ~/.local/share
Thanks @markstos. Setting XDG_DATA_HOME worked.
export XDG_DATA_HOME=/apps/$USER/.local/share
1 Like
Great! Could you mark my answer as “solved”?
1 Like
I think he meant mark his reply as the one that resolved your issue.
@mcen1 That’s right. Thanks!