paunch/paunch
Emilien Macchi 7ea9455221 podman: get cpus allowed list only when isolcpus in cmdline
When building the podman command, only get cpus allowed list when there
is isolcpus in the /proc/cmdline otherwise skip the argument.

Note: re-working the Mocks for cpu affinity so we can properly test the
/proc/cmdline reads.

Change-Id: I270c90d3adc8824991896443c6074f8f7357c942
Related-Bug: #1884765
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
2020-06-23 19:12:35 +00:00
..
builder podman: get cpus allowed list only when isolcpus in cmdline 2020-06-23 19:12:35 +00:00
tests podman: get cpus allowed list only when isolcpus in cmdline 2020-06-23 19:12:35 +00:00
utils Do not set cpuset-cpus if cconfig['cpuset_cpus'] == 'all' 2020-03-19 13:00:41 -04:00
__init__.py Process labels before building container run args 2020-04-09 14:26:26 +02:00
__main__.py Allow paunch to be called as a python module 2018-11-16 03:01:51 +00:00
cmd.py Allow to not cleanup containers that aren't in config 2020-02-11 19:31:08 -05:00
constants.py systemd: do not hardcode /etc/systemd/system in method 2018-12-10 18:26:33 -05:00
runner.py Fix return results on cmd failure and error msgs 2020-05-15 17:36:05 +02:00