Make running_in_container work in more containers
Instead of grepping for 'lxc' in /proc/1/cgroup, use systemd's features. This now at least also works in LXD containers. Change-Id: I35e807c26f0b1fbba83ddbe04cfb4901a7a95cbe
This commit is contained in:
parent
27b1b21f01
commit
4ae92b846b
Loading…
x
Reference in New Issue
Block a user