[lxc-users] rename veth interfaces on the host
Fajar A. Nugraha
list at fajar.net
Tue Mar 7 16:11:18 UTC 2017
On Tue, Mar 7, 2017 at 10:32 PM, Spike <spike at drba.org> wrote:
> Dear all,
>
> I'm using bridged mode for networking and would love to be able to tell
> which veth is which on the host by using more meaningful names. This would
> also very useful for monitoring and debugging.
>
> I found some docs suggesting that it can be done, but only for privileged
> containers. Is that the case? Is it not possible at all for unprivileged
> ones?
>
>
Short version: use lxd, set 'host_name' on the container interface config.
You could probably do the same for root-owned, unpriv plain-lxc containers
(haven't test this though).
--
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170307/cdb44ec6/attachment.html>
More information about the lxc-users
mailing list