echo openvz
fi
+# Check for LXC containers
+# http://www.freedesktop.org/wiki/Software/systemd/ContainerInterface
+# Added by Marc Fournier
+
+if [ -e $root/proc/1/environ ] &&
+ cat $root/proc/1/environ | tr '\000' '\n' | grep -Eiq '^container='; then
+ echo lxc
+fi
+
# Check for Linux-VServer
if cat $root/proc/self/status | grep -q "VxID: [0-9]*"; then
echo linux_vserver