Re: [systemd-devel] systemd-networkd: How to configure network with environment variables?

2021-04-23 Thread Nicholas Labich
On Fri, Apr 23, 2021 at 10:00:32 +0200 Lennart Poettering wrote: > On Fr, 23.04.21 08:17, Paul Menzel (pmenzel+systemd-de...@molgen.mpg.de) > wrote: > > > Dear systemd folks, > > > > > > Due to historical reasons, in our environment we have a configuration file > > with the network device name

Re: [systemd-devel] systemd-networkd: How to configure network with environment variables?

2021-04-23 Thread Lennart Poettering
On Fr, 23.04.21 08:17, Paul Menzel (pmenzel+systemd-de...@molgen.mpg.de) wrote: > Dear systemd folks, > > > Due to historical reasons, in our environment we have a configuration file > with the network device name and the to be assigned IP address: > > $ more /etc/local/mxhost.conf >

[systemd-devel] systemd-networkd: How to configure network with environment variables?

2021-04-23 Thread Paul Menzel
Dear systemd folks, Due to historical reasons, in our environment we have a configuration file with the network device name and the to be assigned IP address: $ more /etc/local/mxhost.conf MX_NETDEV=net02 MX_IPADDR=141.14.18.X Then a custom service unit `network.service` [1]