|
|
|
|
|
by bonzini
1209 days ago
|
|
I do something similar but I don't use podman-generate-systemd; instead I create the systemd service by hand using a Jinja template[1], and then start the service[2]. This has the advantage that there's no hole where the container is running but systemd configuration has not been updated yet. Either way, it's indeed quite tempting to use quadlet instead of the nasty templates that build the podman commandline. I also want to check if quadlet supports override files like systemd's, because that would be quite interesting as a customization mechanism that does not require forking the playbooks. [1] https://github.com/patchew-project/patchew/blob/master/scrip... [2] https://github.com/patchew-project/patchew/blob/master/scrip... |
|