Set User in k3s systemd unit
This ensures that the $HOME and $USER env vars get set. We have worked around this on the RKE2 side by setting it manually in the default .env file:
https://github.com/rancher/rke2/blob/master/bundle/lib/systemd/system/rke2-server.env
This is required for loading credentials from shared credentials files (`/root/.aws/credentials`)
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com>
Showing
Please
register
or
sign in
to comment