[Lxc-users] [lxc-devel] template-script for ubuntu [lucid] containers

Wilhelm wilhelm.meier at fh-kl.de
Tue Jun 1 20:12:22 UTC 2010


Am 01.06.2010 20:05, schrieb Daniel Lezcano:
> On 06/01/2010 09:50 PM, Wilhelm wrote:
>> Am 01.06.2010 16:06, schrieb Daniel Lezcano:
>>> On 06/01/2010 06:04 PM, Daniel Lezcano wrote:
>>>> On 05/30/2010 07:07 PM, Wilhelm wrote:
>>>>> Hi,
>>>>>
>>>>> for all interested: attached you'll find a template script for ubuntu
>>>>> containers.
>>>>>
>>>> Hi Willem,
>>>>
>>>> thanks a lot for the script, I fixed some nasty things but I was happy
>>>> to play with it :)
>>>>
>>>> Do you mind to modify the script in order to have '/var/tmp' not being
>>>
>>> sorry, I meant '/var/run'
>>
>> ok, changed it in the attached script (and added the patches you 
>> posted and some other tweaks)
>>>
>>>
>>>> mounted as a tmpfs, so the mechanism within lxc can 'shutdown' /
>>>> 'reboot' properly ?
>> but a "halt" from inside the container isn't handled properly: the 
>> init-process still remains ...
>> Any ideas?
>
> I added a mechanism to watch the utmp file in the container's rootfs 
> in lxc.
> This is not available for lxc 0.6.5, do you have this version ?
>
No, I used latest git.

-- 
Wilhelm






More information about the lxc-users mailing list