procd: Adding support to detect Pantavisor Container Platform
authorGaurav Pathak <gaurav.pathak@pantacor.com>
Sun, 21 Mar 2021 13:14:33 +0000 (18:44 +0530)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 21 Mar 2021 13:23:25 +0000 (13:23 +0000)
commit7ee456346baca29af40a6d1a5071e57f32ebf762
tree0cc7bbbed482852337b610f1d2a72411826c5074
parentc23d8bf81624469ed97449af7bf9497ee2c351c2
procd: Adding support to detect Pantavisor Container Platform

Modified container.h to detect the pantavisor container platform,
as it runs a custom modified version of LXC. container.h is modified
to check if procd is running in a pantavisor container environment by
detecting the presence of pantavisor directory under /.

Signed-off-by: Gaurav Pathak <gaurav.pathak@pantacor.com>
container.h