[systemd-devel] nspawn: how to rename network interfaces?

Mantas Mikulėnas grawity at gmail.com
Tue Apr 3 19:56:16 UTC 2018


On Tue, Apr 3, 2018, 21:42 Matthias Pfau <matthias at tutanota.de> wrote:

> Hi there,
> I just tried to rename ipvlan and macvlan devices in a container with
> systemd.link. This does not seem to work with debian stretch (host and
> container).
>
> Is it possible to rename ipvlan and macvlan devices in a container? If
> not: Is there another way to define custom interface names?
>

Containers usually don't have udev (which processes .link files). Manual
renaming should work.

But why not just specify the desired names when *creating* those interfaces?

> --

Mantas Mikulėnas <grawity at gmail.com>
Sent from my phone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180403/2b1e70f9/attachment.html>


More information about the systemd-devel mailing list