[lxc-devel] hwaddr tuning in templates
Guillaume ZITTA
lxc at zitta.fr
Mon Dec 30 11:40:03 UTC 2013
Le 26/12/2013 17:12, Guillaume ZITTA a écrit :
>>> If not, my proposal:
>>> I set an incomplete (prefix) lxc.network.hwaddr in default conf.
>>> lxc-create complete it randomly and write it to the container's
>>> config.
>>>
>>> Does it make sense?
>>
>> I think so. Just 'xx' in place of real numbers?
>>
>>> I do not/can't code in C, but perhaps I should try ...
>>>
>>> Guillaume ZITTA
>
I did same kind of feature within gentoo template.
https://github.com/gza/lxc-gentoo-template/commit/c7144943e029b49f77560e10fd834eb80b64c3ef
Even if I think it's a better idea to make it in lxc-create, it could be
a workaround.
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
More information about the lxc-devel
mailing list