[Lxc-users] updated lxc template for debian squeeze - with attached script ; )

Daniel Lezcano daniel.lezcano at free.fr
Thu Feb 24 21:43:01 UTC 2011


On 02/24/2011 05:47 PM, John Soros wrote:
> Hello list,
> I have edited the lxc-debian script found in the lxc package in squeeze
> to install squeeze guests. I have done a few modifications aswell, as
> the script had a few minor problems (imho)
> I'll document the additions i did here (apart from the update from lenny
> to squeeze):
>   - mknod first four tty devices of the guest
>   - generate random mac address for the guest so it gets always the same
>     lease from a dhcp server
>   - add the network configuration to the guest configuration (otherwise
>     the host's network interface is used, which is quite confusing)
>   - require a hostname - i don't see what use is a machine that has the
>     same hostname as the host os.
>
> Hope this helps someone
> (sorry for the repost, i forgot the attachment..)

Hi John,

thank you very much for the modifications. I can't take it as it is, you 
should send a patch instead of the modified file.
The CONTRIBUTING file will give you some hints, no need to read the full 
content ;)

Thanks again
   -- Daniel
<javascript:void(0);>




More information about the lxc-users mailing list