Closed k9withabone closed 1 year ago
How does podlet decide to put it in the rootful versus non-root unit directory? Is it the use of "podlet -u podman run sudo podman run (rest of run command)" for the rootful directory and the lack of a sudo for the non-root version? Or does it need another flag passed to choose which directory to go? I don't see anything in the documentation indicating how you send it which way
It depends on the user running the podlet process since root is required for writing to root directories. So sudo podlet -u podman run image
will place the file in /etc/containers/systemd
, and podlet -u podman run image
(assuming non-root user) will place the file in ~/.config/containers/systemd
.
Closes #12, adds an option flag for putting the generated file in the appropriate directory for quadlet. Also prepares for a v0.1.1 release.