Am 03.07.2014 09:15, schrieb Cedric Bosdonnat:
On Wed, 2014-07-02 at 23:00 +0200, Richard Weinberger wrote:
> On Wed, Jul 2, 2014 at 3:57 PM, Cédric Bosdonnat <cbosdonnat(a)suse.com> wrote:
>> This patch series allows users to configure the network device name in the
>> LXC container. I intentionaly didn't allow this for hostdev net interfaces
>> as the NIC would be returned with a different name to the host and we have
>> no way to guess under what name it was returned to the host namespace.
>>
>> This will help filling the feature gap with LXC WRT network configuration.
>
> We need this feature because you want to change the interface name and drop
> CAP_NET_ADMIN?
Well that is mostly the beginning of another patch series to help
converting lxc.network.ipv[46] properties too. I have no feedback on how
LXC users are using lxc.network.name in their containers.
Okay. I'd assume that ifrename does the job. :)
Thanks,
//richard