Re: [libvirt] [PATCH] lxc: export container=lxc-libvirt for systemd

2012-01-25 Thread Daniel P. Berrange
On Tue, Jan 24, 2012 at 11:53:38AM -0700, Eric Blake wrote: Systemd detects containers based on whether they have an environment variable starting with 'container=lxc'; using a longer name fits the expectations, while also allowing detection of who created the container. Requested by

Re: [libvirt] [PATCH] lxc: export container=lxc-libvirt for systemd

2012-01-25 Thread Serge Hallyn
Quoting Daniel P. Berrange (berra...@redhat.com): On Tue, Jan 24, 2012 at 11:53:38AM -0700, Eric Blake wrote: Systemd detects containers based on whether they have an environment variable starting with 'container=lxc'; using a longer name fits the expectations, while also allowing

Re: [libvirt] [PATCH] lxc: export container=lxc-libvirt for systemd

2012-01-25 Thread Eric Blake
On 01/25/2012 08:18 AM, Serge Hallyn wrote: Quoting Daniel P. Berrange (berra...@redhat.com): On Tue, Jan 24, 2012 at 11:53:38AM -0700, Eric Blake wrote: Systemd detects containers based on whether they have an environment variable starting with 'container=lxc'; using a longer name fits the

[libvirt] [PATCH] lxc: export container=lxc-libvirt for systemd

2012-01-24 Thread Eric Blake
Systemd detects containers based on whether they have an environment variable starting with 'container=lxc'; using a longer name fits the expectations, while also allowing detection of who created the container. Requested by Lennart Poettering, in response to