mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
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.
This commit is contained in:
@@ -21,6 +21,9 @@ Before=shutdown.target initrd-switch-root.target
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart={{LIBEXECDIR}}/systemd-network-generator
|
||||
ImportCredential=network.netdev.*
|
||||
ImportCredential=network.link.*
|
||||
ImportCredential=network.network.*
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
|
||||
Reference in New Issue
Block a user