Hello. On Wed, Jul 31, 2024 at 10:43:52AM GMT, Joel GUITTET <[email protected]> wrote: > I used slice files in /etc/systemd/system/ to set some CPUQuota and MemoryMax > options to some systemd-containers. Works fine. > > Is it possible to define these options from machinectl / systemd-nspawn > command line directly without using the slice file ?
You can try
systemd-nspawn --property=foo=bar
That'd apply the limit on directly on the container's unit (not a whole
slice).
Does that help?
Michal
signature.asc
Description: PGP signature
