Re: [systemd-devel] networkd: how to match the only interface?

2020-06-16 Thread Mantas Mikulėnas
On Tue, Jun 16, 2020 at 4:13 AM Roman Odaisky wrote: > Hi, > > I would like to assign a static IP address to a server in a way that > survives > hardware replacement. Basically I want the configuration to say: “Find the > only > physical interface present and assign this static IP address to it.

[systemd-devel] networkd: how to match the only interface?

2020-06-15 Thread Roman Odaisky
Hi, I would like to assign a static IP address to a server in a way that survives hardware replacement. Basically I want the configuration to say: “Find the only physical interface present and assign this static IP address to it. In the unexpected case of finding multiple interfaces, assign