generated from podman-desktop/extension-template-full
-
Notifications
You must be signed in to change notification settings - Fork 8
Labels
enhancementNew feature or requestNew feature or request
Description
Description
A very big problem may occur if you play with multiple machines locally.
By default (in version 0.7.0 and bellow) the podman quadlet extension uses the following directories to write quadlets.
ℹ since admin is not supported, we should only consider
~/.config/containers/systemd/
extension-podman-quadlet/packages/backend/src/services/quadlet-service.ts
Lines 342 to 346 in 95be2a3
if (options.admin) { | |
destination = joinposix('/etc/containers/systemd/', resource.filename); | |
} else { | |
destination = joinposix('~/.config/containers/systemd/', resource.filename); | |
} |
But this directory is problematic. It is shared between machines! (At least on WSL)
Reproduce
- assert two machine running
- create a quadlet using the
Generate
quadlets - refresh
- assert it is duplicated
Solution proposal
Change the directory to something else.
Supported path are the following
/etc/containers/systemd/users/
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
No status