network-generator: pick up .netdev/.link/.network configuration via credentials
authorLennart Poettering <lennart@poettering.net>
Mon, 8 Jan 2024 10:25:56 +0000 (11:25 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 8 Jan 2024 11:59:08 +0000 (12:59 +0100)
commit1a30285590c2f40f256d0628950ef9243b2c1938
tree1731954ca2e68cf87a5c640634f18cae2061cd9b
parent96f1f03c0357bac0dd34cc18e8ddf105deeb0a46
network-generator: pick up .netdev/.link/.network configuration via credentials

To me this is the last major basic functionality that couldn't be
configured via credentials: the network.

We do not invent any new format for this, but simply copy relevant creds
1:1 into /run/systemd/network/ to open up the full functionality of
networkd to VM hosts.
man/systemd-network-generator.service.xml
man/systemd.system-credentials.xml
src/network/generator/main.c
test/units/testsuite-74.network-generator.sh [new file with mode: 0755]
units/systemd-network-generator.service.in