On Thu 2011-05-26 (01:51), David Touzeau wrote:
> But i did not find any information inside the LXC contener in order to
> detect We are really in an LXC contener.
My trick is to mount cgroup into the container at /lxc/cgroup:
root@vms2:/lxc# grep cgroup flupp.fstab
/cgroup/flupp /lxc/
On 5/25/2011 7:51 PM, David Touzeau wrote:
> Dear all
>
> to detect if we are inside an OpenVZ, openvzve,xen machine
> we can check the presence of :
> /proc/vz/veinfo
> /proc/vz/version
> /proc/sys/xen
> /sys/bus/xen
> /proc/xen
>
> But i did not find any information inside the LXC contener in ord
On Thu, 2011-05-26 at 01:51 +0200, David Touzeau wrote:
> Dear all
>
> to detect if we are inside an OpenVZ, openvzve,xen machine
> we can check the presence of :
> /proc/vz/veinfo
> /proc/vz/version
> /proc/sys/xen
> /sys/bus/xen
> /proc/xen
>
> But i did not find any information inside the LXC
Dear all
to detect if we are inside an OpenVZ, openvzve,xen machine
we can check the presence of :
/proc/vz/veinfo
/proc/vz/version
/proc/sys/xen
/sys/bus/xen
/proc/xen
But i did not find any information inside the LXC contener in order to
detect We are really in an LXC contener.
Is there a tip