-
Notifications
You must be signed in to change notification settings - Fork 411
fix(systemd-networkd): make systemd-networkd a proper network provider #1348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
2687b8a to
de8fb6b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| require_binaries ip || return 1 | |
| require_binaries networkctl || return 1 | |
| require_binaries "$systemdutildir"/systemd-networkd || return 1 | |
| require_binaries "$systemdutildir"/systemd-network-generator || return 1 | |
| require_binaries "$systemdutildir"/systemd-networkd-wait-online || return 1 | |
| require_binaries \ | |
| ip networkctl \ | |
| "$systemdutildir"/systemd-networkd \ | |
| "$systemdutildir"/systemd-network-generator \ | |
| "$systemdutildir"/systemd-networkd-wait-online \ | |
| || return 1 |
|
Would be cool to introduce the test cases like for NM: with networkd... relevant code changes: diff --git a/test/TEST-20-NFS/test.sh b/test/TEST-20-NFS/test.sh
index 5a46f3d5..868f62b8 100755
--- a/test/TEST-20-NFS/test.sh
+++ b/test/TEST-20-NFS/test.sh
@@ -2,10 +2,13 @@
if [[ $NM ]]; then
USE_NETWORK="network-manager"
- OMIT_NETWORK="network-legacy"
+ OMIT_NETWORK="network-legacy systemd-networkd"
+elif [[ $SNWD ]]; then
+ USE_NETWORK="systemd-networkd"
+ OMIT_NETWORK="network-legacy network-manager"
else
USE_NETWORK="network-legacy"
- OMIT_NETWORK="network-manager"
+ OMIT_NETWORK="network-manager systemd-networkd"
fialso for Maybe refactor things into |
Create an issue for it and assign it to me I need to take a stab at writing test case :) |
Make systemd-networkd a proper network service provider. Fixes dracutdevs#737
Let's make systemd-networkd a proper network provider which should fix #737
Node that this PR adds dependencies on the dbus module ( since it provides networkd dbus files ) as well as sysusers ( which replaces the grep passwd section from the existing module ) and should not be merged until I have provided the rest of the modules hostnamed, timesyncd,resolved etc. ( read as do not enable automerge ) which will provide the libraries in the existing module.
Changes
Checklist
Fixes #