[Lxc-users] Ubuntu 12.04 linux-container package and init modifications
Fajar A. Nugraha
list at fajar.net
Wed Mar 7 04:03:07 UTC 2012
On Wed, Mar 7, 2012 at 10:45 AM, Serge Hallyn
<serge.hallyn at canonical.com> wrote:
> Quoting Fajar A. Nugraha (list at fajar.net):
>> # cat /etc/init/lxc-lo.conf
>> start on startup
>> env container
>>
>> pre-start script
>> if [ "x$container" != "xlxc" -a "x$container" != "xlibvirt" ];
>> then
>> stop;
>> fi
>> initctl start network-interface INTERFACE=lo
>> exit 0;
>> end script
>>
>>
>> So now the modifications (both from lxcguest and my local addition)
>> are all new .conf files, which would be ignored if it's not started in
>> lxc environment. Might try 12.04 container later.
>
> If your guest is uptodate 12.04, you should have
>
> /etc/init/network-interface-container.conf
>
> from ifupdownpackage which emits that signal for you. You shouldn't need
> your own lxc-lo.conf any more.
What is Canonical's plan for older guests? Will
network-interface-container.conf be backported to lxc-guest, or will
manual configuration still necessary?
--
Fajar
More information about the lxc-users
mailing list